Playwright Multi-Tab Session Manager

Installation
SKILL.md

Playwright Multi-Tab Session Manager

Manages concurrent Playwright browser contexts with tab isolation and cookie partitioning. Uses Playwright BrowserContext API for parallel tab orchestration with SharedArrayBuffer synchronization.

Overview

The Playwright Multi-Tab Session Manager provides advanced browser automation for agents that need to operate across multiple tabs simultaneously. Built on the Playwright BrowserContext API, it creates isolated browser contexts with independent cookie jars, localStorage, and session state. Each tab runs in its own execution context with SharedArrayBuffer-based synchronization to prevent race conditions during parallel form submissions or data extraction. The skill supports automatic tab lifecycle management including creation, focus switching, and graceful teardown. It integrates with Playwright’s network interception layer to mock API responses per-tab, enabling complex testing scenarios. Error recovery uses exponential backoff with jitter for flaky page loads. Supports Chromium, Firefox, and WebKit engines with automatic binary management via playwright install.

Installation

Any Agent

npx skills add agentskillexchange/skills --skill playwright-multi-tab-session-manager-2

Claude Code

Related skills
Installs
GitHub Stars
6
First Seen