Skip to content
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

Bidi protocol and WebDriverIO #1144

Open
1 task done
ballendq opened this issue Dec 18, 2024 · 3 comments
Open
1 task done

Bidi protocol and WebDriverIO #1144

ballendq opened this issue Dec 18, 2024 · 3 comments
Assignees

Comments

@ballendq
Copy link
Contributor

Product

webdriverio

Product Version

4.10.1

Latest Version

  • I have tested the issue with the latest version of the product

Issue Description

Expectation

@axe-core/webdriverio should work without errors when using WebdriverIO v9 and the bidi protocol

Actual

@axe-core/webdriverio will throw an error when using v9 and the bidi protocol.

How to Reproduce

@scottmries to help with this.

Additional context

This issue was reported on axe community slack.

A user has suggested that:

"... navigating to about:blank in bidi won't work."
"... do this: await browser.url('data:text/html,') instead"

@ballendq ballendq self-assigned this Dec 18, 2024
@martijnhjk
Copy link

FYI this is the error in my terminal:

[chrome 131.0.6778.140 mac #0-0] Error: switchToWindow failed. Are you using updated browser drivers? 
[chrome 131.0.6778.140 mac #0-0] Driver reported:
[chrome 131.0.6778.140 mac #0-0] waitUntil condition timed out after 10000ms
[chrome 131.0.6778.140 mac #0-0]  Please check out https://github.com/dequelabs/axe-core-npm/blob/develop/packages/webdriverio/error-handling.md

@Bredansky
Copy link

Getting the same as @martijnhjk

@Bredansky
Copy link

Bredansky commented Dec 19, 2024

This line in the config file's capabilities setting can be used as temporary workaround.

  'wdio:enforceWebDriverClassic': true

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

No branches or pull requests

3 participants