-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
WebDriver extension for Custom Handlers #8251
Comments
I'm pretty confused by why you're filing this issue on the HTML Standard. The HTML Standard does not define WebDriver commands; I assume that's something the WebDriver spec does? |
My idea would be to add a new subsection in the Custom Handlers section of the HTML Standard spec, as it's done in other specs, like Permission, Secure Payment Confirmation. As far as I understand, extension commands are usually defined in the features' spec where they are needed. |
Oh, fascinating. Sure, if this is something that implementers are interested in, then I guess it sounds like HTML is the right place for it... |
The HTML spec states in the Custom Handler section that user agents may launch a prompt dialog during the registration of a custom protocol handler:
Currently, there are only manual tests for the registerProtocolHandler method:
https://github.com/web-platform-tests/wpt/blob/master/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-handler-fragment-nosw-manual.https.html
The main problem is that Chrome, and also Firefox, launch a prompt dialog to ask the user for confirmation to register the protocol handler.
We could provide testing automation if we had a WebDriver extension command that would autogrant or autoreject the registration request.
We could get some inspiration from the Set SPC Transaction Mode extension command, which is already implemented in ChromeDriver (Not sure about Marionette, though).
The text was updated successfully, but these errors were encountered: