https://github.com/arjunattam/try-playwright-codespaces
https://github.com/arjunattam/try-playwright-codespaces
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/arjunattam/try-playwright-codespaces
- Owner: arjunattam
- Created: 2020-09-25T23:03:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-25T23:31:03.000Z (over 5 years ago)
- Last Synced: 2024-10-18T07:17:27.788Z (over 1 year ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Use Playwright in Codespaces
This repo is configured with [devcontainer.json](.devcontainer/devcontainer.json) to run Playwright on Chromium, Firefox and WebKit inside GitHub Codespaces.
## Usage
To run browsers in headless mode, run the script with Node.js
```
node index.js
```
To run browsers in headful mode, use xfvb (pre-installed)
```
/usr/bin/xfvb-run --auto-servernum -- node index.js
```