You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,12 @@ You need BrowserStack credentials to be able to run Playwright tests. You have t
19
19
2. Install the dependencies using `npm install`
20
20
3. Run the sample script using `node single_test.js`
21
21
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
+
22
28
**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.
23
29
24
30
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