Skip to content

Commit df715f9

Browse files
committed
updated docs
1 parent f9c8e03 commit df715f9

File tree

3 files changed

+42
-36
lines changed

3 files changed

+42
-36
lines changed

docs/helpers/WebDriver.md

Lines changed: 38 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ Enable `wdio` plugin in plugins list and add `sauce` service:
212212
```js
213213
plugins: {
214214
wdio: {
215+
enabled: true,
215216
services: ['sauce'],
216217
user: ... ,// saucelabs username
217218
key: ... // saucelabs api key
@@ -237,6 +238,7 @@ Enable `wdio` plugin in plugins list and add `browserstack` service:
237238
```js
238239
plugins: {
239240
wdio: {
241+
enabled: true,
240242
services: ['browserstack'],
241243
user: ... ,// browserstack username
242244
key: ... // browserstack api key
@@ -249,37 +251,9 @@ See [complete reference on webdriver.io][11].
249251

250252
> Alternatively, use [codeceptjs-bshelper][12] for better reporting.
251253
252-
### Multiremote Capabilities
253-
254-
This is a work in progress but you can control two browsers at a time right out of the box.
255-
Individual control is something that is planned for a later version.
256-
257-
Here is the [webdriverio docs][13] on the subject
258-
259-
```js
260-
{
261-
"helpers": {
262-
"WebDriver": {
263-
"multiremote": {
264-
"MyChrome": {
265-
"desiredCapabilities": {
266-
"browserName": "chrome"
267-
}
268-
},
269-
"MyFirefox": {
270-
"desiredCapabilities": {
271-
"browserName": "firefox"
272-
}
273-
}
274-
}
275-
}
276-
}
277-
}
278-
```
279-
280254
#### TestingBot
281255

282-
> **Recommended**: use official [TestingBot Helper][14].
256+
> **Recommended**: use official [TestingBot Helper][13].
283257
284258
Alternatively, TestingBot can be configured via wdio service, which should be installed additionally:
285259

@@ -292,6 +266,7 @@ Enable `wdio` plugin in plugins list and add `testingbot` service:
292266
```js
293267
plugins: {
294268
wdio: {
269+
enabled: true,
295270
services: ['testingbot'],
296271
user: ... ,// testingbot key
297272
key: ... // testingbot secret
@@ -300,13 +275,41 @@ plugins: {
300275
}
301276
```
302277

303-
See [complete reference on webdriver.io][15].
278+
See [complete reference on webdriver.io][14].
304279

305280
#### Applitools
306281

307282
Visual testing via Applitools service
308283

309-
> Use [CodeceptJS Applitools Helper][16] with Applitools wdio service.
284+
> Use [CodeceptJS Applitools Helper][15] with Applitools wdio service.
285+
286+
### Multiremote Capabilities
287+
288+
This is a work in progress but you can control two browsers at a time right out of the box.
289+
Individual control is something that is planned for a later version.
290+
291+
Here is the [webdriverio docs][16] on the subject
292+
293+
```js
294+
{
295+
"helpers": {
296+
"WebDriver": {
297+
"multiremote": {
298+
"MyChrome": {
299+
"desiredCapabilities": {
300+
"browserName": "chrome"
301+
}
302+
},
303+
"MyFirefox": {
304+
"desiredCapabilities": {
305+
"browserName": "firefox"
306+
}
307+
}
308+
}
309+
}
310+
}
311+
}
312+
```
310313

311314
## Access From Helpers
312315

@@ -1659,13 +1662,13 @@ I.waitUrlEquals('http://127.0.0.1:8000/info');
16591662
16601663
[12]: https://github.com/PeterNgTr/codeceptjs-bshelper
16611664
1662-
[13]: http://webdriver.io/guide/usage/multiremote.html
1665+
[13]: https://github.com/testingbot/codeceptjs-tbhelper
16631666
1664-
[14]: https://github.com/testingbot/codeceptjs-tbhelper
1667+
[14]: https://webdriver.io/docs/testingbot-service.html
16651668
1666-
[15]: https://webdriver.io/docs/testingbot-service.html
1669+
[15]: https://github.com/PeterNgTr/codeceptjs-applitoolshelper
16671670
1668-
[16]: https://github.com/PeterNgTr/codeceptjs-applitoolshelper
1671+
[16]: http://webdriver.io/guide/usage/multiremote.html
16691672
16701673
[17]: http://jster.net/category/windows-modals-popups
16711674

docs/plugins.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ Enable `wdio` plugin in plugins list and add `selenium-standalone` service:
429429
```js
430430
plugins: {
431431
wdio: {
432+
enabled: true,
432433
services: ['selenium-standalone']
433434
// additional config for service can be passed here
434435
}
@@ -447,6 +448,7 @@ Enable `wdio` plugin in plugins list and add `sauce` service:
447448
```js
448449
plugins: {
449450
wdio: {
451+
enabled: true,
450452
services: ['sauce'],
451453
user: ... ,// saucelabs username
452454
key: ... // saucelabs api key

docs/quickstart.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ exports.config = {
182182
// inside condecept.conf.js
183183
plugins: {
184184
wdio: {
185-
services: ['selenium-standalone']
185+
enabled: true,
186+
services: ['selenium-standalone']
186187
}
187188
}
188189
}

0 commit comments

Comments
 (0)