-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
How to get navigator.webdriver? #1755
Comments
@Elufimov We've discussed adding in support for unstable APIs, with the caveat that they can break at any time, so you can't rely upon them. On the other hand, perhaps we can make an exception here, since it seems to be supported in all browsers, and it's just a simple |
Supporting only stable set of api is completely reasonable.
If this is possible it would be great. |
Seems reasonable to me to add if everything already supports it! |
I'm going to close this in favor of #1950 which tracks how we'll be handling unstable web features (or at least not yet standardized) |
Summary
Webdriver getter exists in NavigatorAutomationInformation https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.NavigatorAutomationInformation.html#method.webdriver and obviously this code
will result to error
And I cant cast Navigator to NavigatorAutomationInformation.
The text was updated successfully, but these errors were encountered: