playwright/tests/bidi/README.md
2024-09-09 17:22:19 -07:00

604 B

Running Bidi tests

To run Playwright tests with Bidi:

git clone https://github.com/microsoft/playwright.git
cd playwright
npm run build # call `npm run watch` for watch mode
npx playwright install chromium
npm run biditest -- --project='bidi-firefox-beta-*'

To install beta channel of Firefox, run the following command in the project root:

npx -y @puppeteer/browsers install firefox@beta

You can also pass custom binary path via BIDIPATH:

BIDIPATH='/Users/myself/Downloads/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing'