docs(bidi): update readme with new vars (#35559)

This commit is contained in:
Yury Semikhatsky 2025-04-09 10:22:42 -07:00 committed by GitHub
parent 4d0c33bc4e
commit aafb068a75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 3 deletions

View File

@ -14,10 +14,13 @@ To install beta channel of Firefox, run the following command in the project roo
```sh
npx -y @puppeteer/browsers install firefox@beta
```
You can also pass custom binary path via `BIDIPATH`:
After that you need to pass custom firefox binary path to the test runner via `BIDI_FFPATH`:
```sh
BIDIPATH='/Users/myself/Downloads/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing'
BIDI_FFPATH='/Users/myself/playwright/firefox/mac_arm-beta_138.0b5/Firefox.app/Contents/MacOS/firefox' npm run biditest -- --project='bidi-firefox-beta-*'
```
For custom Chromium path use `BIDI_CRPATH`.
```sh
BIDI_CRPATH='/Users/myself/Downloads/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing'
```