Skip to content

Documentation website for Playwright

License

CC-BY-4.0, MIT licenses found

Licenses found

CC-BY-4.0
LICENSE
MIT
LICENSE-CODE
Notifications You must be signed in to change notification settings

Jonny-Cornwell-i2/playwright.dev

 
 

playwright.dev

This website is built using Docusaurus v2. Content is pulled from the microsoft/playwright repo.

Development

Setup the repo

npm install

The project uses a fork of the docusaurus-search-local plugin for search.

Roll docs

SRC_DIR=~/code/playwright npm run roll

Remove old release

node src/remove_version.js 1.16

Run dev server

npm run start

Note that search indexes are only populated for prod build.

Run prod build and serve

npm run build
npm run serve

Running this on Windows

If you don't already, you might need to set the default shell to bash.

npm config set script-shell "C:\\Program Files\\git\\bin\\bash.exe"

You can revert it later, if you have issues, by doing:

npm config delete script-shell

In some cases, the postinstall script doesn't auto-run after npm install, in which case, you can run that manually:

npm run postinstall

That should bring your environment to a state ready for testing.

To roll the docs in PowerShell, make sure you set the env variable correctly, i.e.:

$env:SRC_DIR="C:\Users\user\src\playwright"; npm run roll

About

Documentation website for Playwright

Resources

License

CC-BY-4.0, MIT licenses found

Licenses found

CC-BY-4.0
LICENSE
MIT
LICENSE-CODE

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.7%
  • TypeScript 9.1%
  • CSS 5.2%