Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/grumpy-meals-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@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