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

Extract WebDriver commands and capabilities #800

Open
dontcallmedom opened this issue Dec 8, 2021 · 1 comment
Open

Extract WebDriver commands and capabilities #800

dontcallmedom opened this issue Dec 8, 2021 · 1 comment

Comments

@dontcallmedom
Copy link
Member

WebDriver defines commands as a combination of HTTP verbs and URI templates, and capabilities (pair of key values), which a number of specs with specific automation needs extend.

webref/ed/links$ grep -l dfn-extension-command *
background-fetch.json
generic-sensor.json
js-self-profiling.json
mediacapture-automation.json
reporting-1.json
secure-payment-confirmation.json
storage-access.json
webauthn-3.json

webref/ed/links$ grep -l dfn-extension-capability *
webauthn-3.json

(also noticed https://w3c.github.io/permissions-automation/ that would need to be added to that list)

It would be nice if we could collect this data across tracked specs; might help with automated testing of these extensions (if that's a thing) and validate they're not inconsistent or overlapping.

@dontcallmedom
Copy link
Member Author

a possible format for publishing the commands is OpenAPI/Swagger; someone has apparently already done the job of converting the selenium API (which I guess ≈WebDriver)

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

No branches or pull requests

1 participant