Commit 383e5c8
fix(java-spring): add missing BrowserStack browser/OS capabilities
Java Spring Selenium tests were failing with:
"Failed to initialize BrowserStack WebDriver: Could not start a new session"
Root cause: BrowserStack capabilities were missing os, osVersion,
browserName, and browserVersion specifications.
Added capabilities matching browserstack-devices.json config:
- os: Windows
- osVersion: 11
- browserName: Chrome
- browserVersion: latest
This was causing ALL test runs to fail with WebDriver initialization
errors, not just BROWSERSTACK_ALL_PARALLELS_IN_USE errors.1 parent 7f81528 commit 383e5c8
1 file changed
Lines changed: 4 additions & 0 deletions
File tree
- java-spring/src/test/java/com/ditto/example/spring/quickstart
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
| |||
0 commit comments