{"repo":"AutoSponge/scriptwriter","free":true,"listed":false,"github":"https://github.com/AutoSponge/scriptwriter","clone":"git clone https://github.com/AutoSponge/scriptwriter.git","description":"✍️ An authoring tool for playwrights.","language":"JavaScript","stars":10,"topics":["playwright","puppeteer","chromium","repl","e2e","e2e-testing","testing","testing-tools","firefox","webkit"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"✍️ Scriptwriter Learn what Playwright can do in each of the various browsers it supports. By default, Scriptwriter loads Chromium and creates a Chrome Devtools Protocol (CDP) client for more repl fun! Installation 1. Ensure you have Node.js 24.14.0 or higher. 1. Install Playwright as a peer dependency: Scriptwriter requires playwright@^1.60.0 . - For global installs: npm i -g playwright - For local project: npm install playwright - In a monorepo: install in the project's node modules or a parent workspace 1. Install Scriptwriter: npm i -g scriptwriter . 1. Or clone this repo, install, and use npm link or npm start . Playwright Resolution Scriptwriter uses a \"nearest\" resolution strategy to find the installed Playwright package: 1. Current working directory — Searches node modules/playwright in the directory where scriptwriter is run 2. Parent directories — Traverses up the directory tree looking for installed Playwright 3. Installation location — Falls back to Playwright installed alongside Scriptwriter This means you can: - Run Scriptwriter from a project with its own Playwright installation - Use a global Playwright with scriptwriter -g - Use Playwright from any parent directory in a monorepo or nested project structure Get Started 1. scriptwriter --no-headless will launch the repl and Chromium. 1. Use await right away: await page.goto('https://github.com') 1. The prompt will change on load: github.com 1. .help lists the global commands. 1. Pressing Tab twice will display a","default_branch":null,"files":null,"tree":[],"storefront":"/r/AutoSponge","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AutoSponge/scriptwriter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}