playwright-php/Setup Playwright PHP
Install the Playwright JS library and download the browsers you need (default: chrome). Made for PlaywrightPHP.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| playwright-version | Version of the Playwright package to install (e.g., 1.47.2 or latest). | no | latest |
| browsers | Browsers as a JSON array (["chrome","firefox"]), "all", or a single string like "chrome". Allowed: chrome, chromium, firefox, webkit, msedge. | no | chrome |
| browsers-path | Optional custom directory to store browser binaries (sets PLAYWRIGHT_BROWSERS_PATH). | no | "" |
| with-deps | Install OS dependencies on Linux using --with-deps. true | false | auto. auto enables only on Linux. | no | auto |
Outputs
| name | description |
|---|---|
| playwright-version | The installed Playwright version (x.y.z). |
| installed-browsers | JSON array string of the browsers that were installed. |