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

Support BiDi #770

Closed
goosewobbler opened this issue Sep 18, 2024 · 1 comment
Closed

Support BiDi #770

goosewobbler opened this issue Sep 18, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@goosewobbler
Copy link
Member

BiDi is used by default in WDIO v9 -- currently, the service is setting the wdio:enforceWebdriverClassic capability to disable it. E2Es fail if BiDi is enabled, the app is displayed but there is a lag displaying the window content - it seems to be rendered after the tests have already failed.

This issue may have a follow-up in which we address accessing the Electron APIs using BiDi, depending on the outcome of #308 (currently working on a solution using CDP).

Ideally the service would use BiDi if WDIO is configured to do so; we can read capabilities to determine if BiDi will be enabled, and make adjustments to the service accordingly.

https://webdriver.io/docs/api/webdriverBidi/
https://webdriver.io/docs/capabilities/#wdioenforcewebdriverclassic

@goosewobbler goosewobbler added enhancement New feature or request help wanted Extra attention is needed documentation Improvements or additions to documentation labels Sep 18, 2024
@goosewobbler goosewobbler added this to the 9.0.0 milestone Sep 18, 2024
@goosewobbler
Copy link
Member Author

Possibly blocked on Chromedriver: webdriverio/webdriverio#13444 (comment)

As far as the bridge replacement goes, I think we concentrate on the CDP route for now, and re-evaluate BiDi later.

@goosewobbler goosewobbler closed this as not planned Won't fix, can't repro, duplicate, stale Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant