Skip to content

docs(webdriverjs): update chrome options in example#1401

Open
G-Rath wants to merge 1 commit into
dequelabs:developfrom
G-Rath:patch-1
Open

docs(webdriverjs): update chrome options in example#1401
G-Rath wants to merge 1 commit into
dequelabs:developfrom
G-Rath:patch-1

Conversation

@G-Rath

@G-Rath G-Rath commented Jul 23, 2026

Copy link
Copy Markdown

The latest version of selenium-webdriver does not have the headless function

Copilot AI review requested due to automatic review settings July 23, 2026 19:42
@G-Rath
G-Rath requested a review from a team as a code owner July 23, 2026 19:42
@CLAassistant

CLAassistant commented Jul 23, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the @axe-core/webdriverjs README example to use modern selenium-webdriver Chrome options configuration now that chrome.Options().headless() is no longer available in newer versions.

Changes:

  • Creates a chrome.Options() instance explicitly in the README example.
  • Enables headless mode via options.addArguments('headless').
  • Passes the configured options into .setChromeOptions(options).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants