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

feat: support webdriver-bidi protocol #135

Open
sigmaSd opened this issue Jun 2, 2022 · 2 comments
Open

feat: support webdriver-bidi protocol #135

sigmaSd opened this issue Jun 2, 2022 · 2 comments

Comments

@sigmaSd
Copy link

sigmaSd commented Jun 2, 2022

Summary

What:

Support webdriver-bidi protocol https://github.com/w3c/webdriver-bidi https://developer.chrome.com/blog/webdriver-bidi/

Why:

Its seems to be the future of browser automation, firefox enables it by default since version 101 https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/101#webdriver_conformance_webdriver_bidi_marionette, you can test it with selenium https://www.selenium.dev/documentation/webdriver/bidirectional/

Acceptance Criteria

Below is a list of tasks that must be completed before this issue can be closed.

  • See if this feature align with this project objective or should it be its own project []
@ebebbington
Copy link
Member

@sigmaSd would you happen to have an more info on this? As to how we may send messages using the new protocol methods

For issue reference, the selenium bidi webdriver calls .bidi.send internally when their external api methods are called (eg `.navigate), its initialisation can be found here, that takes us to where it creates the instance

So long story short, they're still using websockets normall, when you call navigate(), they still send a websocket message: https://github.com/SeleniumHQ/selenium/blob/trunk/javascript/node/selenium-webdriver/bidi/index.js#L95

It's just how we get it to recognise the method exists? For example chrome supports it, so i ran chrome headless, and got my protocol to send the method mentioned here which is their external API, but i got a message saying the method wasn't found

@sigmaSd
Copy link
Author

sigmaSd commented May 26, 2024

Sorry I forgot what this is about, I would have to read up again on the subject. Maybe this issue is not relevant anymore feel free to close it in that case.

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

No branches or pull requests

2 participants