Skip to content

Commit b484dca

Browse files
kevinbstackfrancisf
authored andcommitted
Update README.md
1 parent 86c58d3 commit b484dca

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ You need BrowserStack credentials to be able to run Playwright tests. You have t
1919
2. Install the dependencies using `npm install`
2020
3. Run the sample script using `node single_test.js`
2121

22+
**Note**: When using Node for your Playwright test, you need to stay in the home directory. If you prefer using other frameworks, navigate to the specific frameworks folder using the following Commands:
23+
* Playwright Test Runner: cd playwright-test
24+
* Java: cd playwright-java
25+
* Python: playwright-python
26+
* C#: playwright-csharp
27+
2228
**Important Note**: When you try to run your Playwright tests on BrowserStack, you need to pass your locally installed client Playwright version in the capability `client.playwrightVersion`. This is required because it is often possible that your locally installed version might be different than the server version running on BrowserStack and the mismatch could lead to different request/response formats leading to socket errors.
2329

2430
Playwright does not pass the client version information in the `connect` request yet and hence this capability is required to let BrowserStack know about your locally installed version, to avoid any error scenarios arising from this. **This has already been taken care in the sample scripts under this repository**.

0 commit comments

Comments
 (0)