Skip to content

Update LambdaTest Caps #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 11, 2022
Merged
Changes from all 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
28 changes: 13 additions & 15 deletions src/Codeception/Module/WebDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,27 +211,25 @@
*
* ### LambdaTest
*
* 1. Create an account at [LambdaTest](https://www.lambdatest.com/) to get your username and access key
* 1. Create an account at [LambdaTest](https://www.lambdatest.com) to get your username and access key
* 2. In the module configuration use the format `username`:`access key`@hub.lambdatest.com' for `host`
* 3. Configure `os` and `os_version` under `capabilities` to define the operating System
* 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);.
* 3. Configure `platformName`, 'browserVersion', and 'browserName' under `LT:Options` to define test environments.
* 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;.
*
* ```yaml
* modules:
* enabled:
* - WebDriver:
* url: http://mysite.com
* host: '<username>:<access key>@hub.lambdatest.com'
* build: <your build name>
* name: <your test name>
* port: 80
* browser: chrome
* capabilities:
* os: Windows
* os_version: 10
* browser_version: 86
* resolution: 1366x768
* tunnel: true # for local testing
url: "https://openclassrooms.com"
host: 'hub.lambdatest.com'
port: 80
browser: 'Chrome'
capabilities:
LT:Options:
platformName: 'Windows 10'
browserVersion: 'latest-5'
browserName: 'Chrome'
tunnel: true #for Local testing
* ```
*
* ### TestingBot
Expand Down