Skip to content

Commit

Permalink
feat: upgrade WebdriverIO to v9, drop JWP capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Dec 28, 2024
1 parent 1abf439 commit e2bb1f2
Show file tree
Hide file tree
Showing 12 changed files with 2,287 additions and 1,669 deletions.
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 e2bb1f2

Please sign in to comment.