Skip to content

Update configuration for Selenium Server v4 #114

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 2 commits into from
Feb 16, 2024
Merged
Changes from 1 commit
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
24 changes: 13 additions & 11 deletions src/Codeception/Module/WebDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
* url: 'http://localhost/'
* browser: chrome
* capabilities:
* chromeOptions:
* goog:chromeOptions:
* args: ["--headless", "--disable-gpu"]
* ```
*
Expand Down Expand Up @@ -131,7 +131,7 @@
* window_size: 2000x1000
* port: 9515
* capabilities:
* chromeOptions:
* goog:chromeOptions:
* args: ["--headless", "--disable-gpu"] # Run Chrome in headless mode
* prefs:
* download.default_directory: "..."
Expand Down Expand Up @@ -173,7 +173,7 @@
*
* 1. Create an account at [SauceLabs.com](https://saucelabs.com/) to get your username and access key
* 2. In the module configuration use the format `username`:`access_key`@ondemand.saucelabs.com' for `host`
* 3. Configure `platform` under `capabilities` to define the [Operating System](https://docs.saucelabs.com/basics/platform-configurator/)
* 3. Configure `platformName` under `capabilities` to define the [Operating System](https://docs.saucelabs.com/basics/platform-configurator/)
* 4. run a tunnel app if your site can't be accessed from Internet
*
* ```yaml
Expand All @@ -185,7 +185,7 @@
* port: 80
* browser: chrome
* capabilities:
* platform: 'Windows 10'
* platformName: 'Windows 10'
* ```
*
* ### BrowserStack
Expand All @@ -204,9 +204,10 @@
* port: 80
* browser: chrome
* capabilities:
* os: Windows
* os_version: 10
* browserstack.local: true # for local testing
* bstack:options:
* os: Windows
* osVersion: 10
* local: true # for local testing
* ```
*
* ### LambdaTest
Expand Down Expand Up @@ -236,7 +237,7 @@
*
* 1. Create an account at [TestingBot](https://testingbot.com/) to get your key and secret
* 2. In the module configuration use the format `key`:`secret`@hub.testingbot.com' for `host`
* 3. Configure `platform` under `capabilities` to define the [Operating System](https://testingbot.com/support/getting-started/browsers.html)
* 3. Configure `platformName` under `capabilities` to define the [Operating System](https://testingbot.com/support/getting-started/browsers.html)
* 4. Run [TestingBot Tunnel](https://testingbot.com/support/other/tunnel) if your site can't be accessed from Internet
*
* ```yaml
Expand All @@ -248,7 +249,7 @@
* port: 80
* browser: chrome
* capabilities:
* platform: Windows 10
* platformName: Windows 10
* ```
*
* ## Configuration
Expand Down Expand Up @@ -285,8 +286,9 @@
* browser: firefox
* window_size: 1024x768
* capabilities:
* unexpectedAlertBehaviour: 'accept'
* firefox_profile: '~/firefox-profiles/codeception-profile.zip.b64'
* unhandledPromptBehaviour: 'accept'
* moz:firefoxOptions:
* profile: '~/firefox-profiles/codeception-profile.zip.b64'
* ```
*
* ## Loading Parts from other Modules
Expand Down