Skip to content

Commit 50e284d

Browse files
authored
Merge pull request #26 from jahmed2345/patch-1
Added Lambdatest in cloud service providers
2 parents 5958e49 + 2c6233e commit 50e284d

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

src/Codeception/Module/WebDriver.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,32 @@
183183
* os_version: 10
184184
* browserstack.local: true # for local testing
185185
* ```
186+
*
187+
* ### LambdaTest
188+
*
189+
* 1. Create an account at [LambdaTest](https://www.lambdatest.com/) to get your username and access key
190+
* 2. In the module configuration use the format `username`:`access key`@hub.lambdatest.com' for `host`
191+
* 3. Configure `os` and `os_version` under `capabilities` to define the operating System
192+
* 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);.
193+
*
194+
* ```yaml
195+
* modules:
196+
enabled:
197+
- WebDriver:
198+
url: http://mysite.com
199+
host: '<username>:<access key>@hub.lambdatest.com'
200+
build: <your build name>
201+
name: <your test name>
202+
port: 80
203+
browser: chrome
204+
capabilities:
205+
os: Windows
206+
os_version: 10
207+
browser_version: 86
208+
resolution: 1366x768
209+
tunnel: true # for local testing
210+
* ```
211+
*
186212
* ### TestingBot
187213
*
188214
* 1. Create an account at [TestingBot](https://testingbot.com/) to get your key and secret

0 commit comments

Comments
 (0)