Installs Playwright for local browser automation.
Usage
mix playwriter.setupThis will:
- Install Playwright npm dependencies in deps/playwright/priv/static
- Download Chromium browser
Options
mix playwriter.setup --browser firefox # Install Firefox instead
mix playwriter.setup --browser all # Install all browsersAfter Setup
You can then use Playwriter in local mode:
Playwriter.fetch_html("https://example.com")For WSL-to-Windows (remote mode), no local setup is needed.
Just start the Windows server and use mode: :remote.