playwright/tests/bidi
Dmitry Gozman 1357f0ab83
chore: simplify bidi browsers handling (#36363)
2025-06-20 10:00:21 +01:00
..
expectations test(bidi): skip tests that are timing out (#36016) 2025-05-20 10:31:36 -07:00
README.md chore(bidi): rename bidi-firefox-stable to moz-firefox channel (#35611) 2025-04-14 17:30:00 -07:00
csvReporter.ts chore: Use › as separator between the filename and test in the CSV reporter as well (#36026) 2025-05-21 14:32:40 -07:00
expectationReporter.ts chore(bidi): make browserType.connect work (#34461) 2025-01-24 09:09:57 -08:00
expectationUtil.ts chore(bidi): skip only timeouts on CI (#34041) 2024-12-16 15:28:21 -08:00
playwright.config.ts chore: simplify bidi browsers handling (#36363) 2025-06-20 10:00:21 +01:00

README.md

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='moz-firefox-*'

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

npx -y @puppeteer/browsers install firefox@beta

After that you need to pass custom firefox binary path to the test runner via BIDI_FFPATH:

BIDI_FFPATH='/Users/myself/playwright/firefox/mac_arm-beta_138.0b5/Firefox.app/Contents/MacOS/firefox' npm run biditest -- --project='moz-firefox-*'

For custom Chromium path use BIDI_CRPATH.

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