Skip to content

Commit

Permalink
Merge pull request #2852 from modernweb-dev/feat/wdio-v9
Browse files Browse the repository at this point in the history
feat: upgrade WebdriverIO to v9, drop JWP capabilities
  • Loading branch information
bashmish authored Jan 27, 2025
2 parents 7a934f8 + c8d8352 commit 9e36bb5
Show file tree
Hide file tree
Showing 13 changed files with 2,308 additions and 1,683 deletions.
7 changes: 7 additions & 0 deletions .changeset/grumpy-meals-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@web/test-runner-browserstack': minor
'@web/test-runner-saucelabs': minor
'@web/test-runner-webdriver': minor
---

Upgrade WebdriverIO to v9, drop JWP capabilities
27 changes: 0 additions & 27 deletions docs/docs/test-runner/browser-launchers/saucelabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,6 @@ export default {
browserVersion: '11.0',
platformName: 'Windows 7',
}),
sauceLabsLauncher({
browserName: 'iphone',
platform: 'iPhone X Simulator',
version: '13.0',
}),
],
};
```
Expand Down Expand Up @@ -141,24 +135,3 @@ export default {
],
};
```
### JWP Capabilities
W3C webdriver capabilities are not yet fully implemented for Sauce Labs simulators. If you need to run the tests on iPhone Simulator, you need to use JWP capabilities.
The following steps are required to use JWP capabilities with Sauce Labs launcher:
- Use `version` instead of `browserVersion`,
- Do not set a `sauce:options` property.
```js
export default {
browsers: [
sauceLabsLauncher({
browserName: 'iphone',
platform: 'iPhone X Simulator',
version: '13.0',
}),
],
};
```
Loading

0 comments on commit 9e36bb5

Please sign in to comment.