Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
DavertMik committed Apr 30, 2019
1 parent f9c8e03 commit df715f9
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 36 deletions.
73 changes: 38 additions & 35 deletions docs/helpers/WebDriver.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ Enable `wdio` plugin in plugins list and add `sauce` service:
```js
plugins: {
wdio: {
enabled: true,
services: ['sauce'],
user: ... ,// saucelabs username
key: ... // saucelabs api key
Expand All @@ -237,6 +238,7 @@ Enable `wdio` plugin in plugins list and add `browserstack` service:
```js
plugins: {
wdio: {
enabled: true,
services: ['browserstack'],
user: ... ,// browserstack username
key: ... // browserstack api key
Expand All @@ -249,37 +251,9 @@ See [complete reference on webdriver.io][11].

> Alternatively, use [codeceptjs-bshelper][12] for better reporting.
### Multiremote Capabilities

This is a work in progress but you can control two browsers at a time right out of the box.
Individual control is something that is planned for a later version.

Here is the [webdriverio docs][13] on the subject

```js
{
"helpers": {
"WebDriver": {
"multiremote": {
"MyChrome": {
"desiredCapabilities": {
"browserName": "chrome"
}
},
"MyFirefox": {
"desiredCapabilities": {
"browserName": "firefox"
}
}
}
}
}
}
```

#### TestingBot

> **Recommended**: use official [TestingBot Helper][14].
> **Recommended**: use official [TestingBot Helper][13].
Alternatively, TestingBot can be configured via wdio service, which should be installed additionally:

Expand All @@ -292,6 +266,7 @@ Enable `wdio` plugin in plugins list and add `testingbot` service:
```js
plugins: {
wdio: {
enabled: true,
services: ['testingbot'],
user: ... ,// testingbot key
key: ... // testingbot secret
Expand All @@ -300,13 +275,41 @@ plugins: {
}
```

See [complete reference on webdriver.io][15].
See [complete reference on webdriver.io][14].

#### Applitools

Visual testing via Applitools service

> Use [CodeceptJS Applitools Helper][16] with Applitools wdio service.
> Use [CodeceptJS Applitools Helper][15] with Applitools wdio service.
### Multiremote Capabilities

This is a work in progress but you can control two browsers at a time right out of the box.
Individual control is something that is planned for a later version.

Here is the [webdriverio docs][16] on the subject

```js
{
"helpers": {
"WebDriver": {
"multiremote": {
"MyChrome": {
"desiredCapabilities": {
"browserName": "chrome"
}
},
"MyFirefox": {
"desiredCapabilities": {
"browserName": "firefox"
}
}
}
}
}
}
```

## Access From Helpers

Expand Down Expand Up @@ -1659,13 +1662,13 @@ I.waitUrlEquals('http://127.0.0.1:8000/info');
[12]: https://github.com/PeterNgTr/codeceptjs-bshelper
[13]: http://webdriver.io/guide/usage/multiremote.html
[13]: https://github.com/testingbot/codeceptjs-tbhelper
[14]: https://github.com/testingbot/codeceptjs-tbhelper
[14]: https://webdriver.io/docs/testingbot-service.html
[15]: https://webdriver.io/docs/testingbot-service.html
[15]: https://github.com/PeterNgTr/codeceptjs-applitoolshelper
[16]: https://github.com/PeterNgTr/codeceptjs-applitoolshelper
[16]: http://webdriver.io/guide/usage/multiremote.html
[17]: http://jster.net/category/windows-modals-popups
Expand Down
2 changes: 2 additions & 0 deletions docs/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ Enable `wdio` plugin in plugins list and add `selenium-standalone` service:
```js
plugins: {
wdio: {
enabled: true,
services: ['selenium-standalone']
// additional config for service can be passed here
}
Expand All @@ -447,6 +448,7 @@ Enable `wdio` plugin in plugins list and add `sauce` service:
```js
plugins: {
wdio: {
enabled: true,
services: ['sauce'],
user: ... ,// saucelabs username
key: ... // saucelabs api key
Expand Down
3 changes: 2 additions & 1 deletion docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ exports.config = {
// inside condecept.conf.js
plugins: {
wdio: {
services: ['selenium-standalone']
enabled: true,
services: ['selenium-standalone']
}
}
}
Expand Down

0 comments on commit df715f9

Please sign in to comment.