Skip to content

Commit 5fe30e1

Browse files
authored
1 parent 01d2e74 commit 5fe30e1

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

src/Codeception/Module/WebDriver.php

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
* url: 'http://localhost/'
9797
* browser: chrome
9898
* capabilities:
99-
* chromeOptions:
99+
* goog:chromeOptions:
100100
* args: ["--headless"]
101101
* ```
102102
*
@@ -131,7 +131,7 @@
131131
* window_size: 2000x1000
132132
* port: 9515
133133
* capabilities:
134-
* chromeOptions:
134+
* goog:chromeOptions:
135135
* args: ["--headless"] # Run Chrome in headless mode
136136
* prefs:
137137
* download.default_directory: "..."
@@ -173,7 +173,7 @@
173173
*
174174
* 1. Create an account at [SauceLabs.com](https://saucelabs.com/) to get your username and access key
175175
* 2. In the module configuration use the format `username`:`access_key`@ondemand.saucelabs.com' for `host`
176-
* 3. Configure `platform` under `capabilities` to define the [Operating System](https://docs.saucelabs.com/basics/platform-configurator/)
176+
* 3. Configure `platformName` under `capabilities` to define the [Operating System](https://docs.saucelabs.com/basics/platform-configurator/)
177177
* 4. run a tunnel app if your site can't be accessed from Internet
178178
*
179179
* ```yaml
@@ -185,7 +185,7 @@
185185
* port: 80
186186
* browser: chrome
187187
* capabilities:
188-
* platform: 'Windows 10'
188+
* platformName: 'Windows 10'
189189
* ```
190190
*
191191
* ### BrowserStack
@@ -204,9 +204,10 @@
204204
* port: 80
205205
* browser: chrome
206206
* capabilities:
207-
* os: Windows
208-
* os_version: 10
209-
* browserstack.local: true # for local testing
207+
* bstack:options:
208+
* os: Windows
209+
* osVersion: 10
210+
* local: true # for local testing
210211
* ```
211212
*
212213
* ### LambdaTest
@@ -236,7 +237,7 @@
236237
*
237238
* 1. Create an account at [TestingBot](https://testingbot.com/) to get your key and secret
238239
* 2. In the module configuration use the format `key`:`secret`@hub.testingbot.com' for `host`
239-
* 3. Configure `platform` under `capabilities` to define the [Operating System](https://testingbot.com/support/getting-started/browsers.html)
240+
* 3. Configure `platformName` under `capabilities` to define the [Operating System](https://testingbot.com/support/getting-started/browsers.html)
240241
* 4. Run [TestingBot Tunnel](https://testingbot.com/support/other/tunnel) if your site can't be accessed from Internet
241242
*
242243
* ```yaml
@@ -248,7 +249,7 @@
248249
* port: 80
249250
* browser: chrome
250251
* capabilities:
251-
* platform: Windows 10
252+
* platformName: Windows 10
252253
* ```
253254
*
254255
* ## Configuration
@@ -285,8 +286,9 @@
285286
* browser: firefox
286287
* window_size: 1024x768
287288
* capabilities:
288-
* unexpectedAlertBehaviour: 'accept'
289-
* firefox_profile: '~/firefox-profiles/codeception-profile.zip.b64'
289+
* unhandledPromptBehaviour: 'accept'
290+
* moz:firefoxOptions:
291+
* profile: '~/firefox-profiles/codeception-profile.zip.b64'
290292
* ```
291293
*
292294
* ## Loading Parts from other Modules

0 commit comments

Comments
 (0)