Skip to content

Commit e11ba49

Browse files
authored
Updated LambdaTest Capabilities in documentation (#105)
1 parent fff51e5 commit e11ba49

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

src/Codeception/Module/WebDriver.php

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -211,27 +211,25 @@
211211
*
212212
* ### LambdaTest
213213
*
214-
* 1. Create an account at [LambdaTest](https://www.lambdatest.com/) to get your username and access key
214+
* 1. Create an account at [LambdaTest](https://www.lambdatest.com) to get your username and access key
215215
* 2. In the module configuration use the format `username`:`access key`@hub.lambdatest.com' for `host`
216-
* 3. Configure `os` and `os_version` under `capabilities` to define the operating System
217-
* 4. If your site is available only locally or via VPN you should use a tunnel app. In this case add capabilities.setCapability("tunnel",true);.
216+
* 3. Configure `platformName`, 'browserVersion', and 'browserName' under `LT:Options` to define test environments.
217+
* 4. If your website is available only locally or via VPN you should use LambdaTest tunnel. In this case, you can add capability "tunnel":true;.
218218
*
219219
* ```yaml
220220
* modules:
221221
* enabled:
222222
* - WebDriver:
223-
* url: http://mysite.com
224-
* host: '<username>:<access key>@hub.lambdatest.com'
225-
* build: <your build name>
226-
* name: <your test name>
227-
* port: 80
228-
* browser: chrome
229-
* capabilities:
230-
* os: Windows
231-
* os_version: 10
232-
* browser_version: 86
233-
* resolution: 1366x768
234-
* tunnel: true # for local testing
223+
url: "https://openclassrooms.com"
224+
host: 'hub.lambdatest.com'
225+
port: 80
226+
browser: 'Chrome'
227+
capabilities:
228+
LT:Options:
229+
platformName: 'Windows 10'
230+
browserVersion: 'latest-5'
231+
browserName: 'Chrome'
232+
tunnel: true #for Local testing
235233
* ```
236234
*
237235
* ### TestingBot

0 commit comments

Comments
 (0)