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

Add requestDevice User Prompt BiDi Extension Section to Bluetooth Spec #616

Closed
outofambit opened this issue Nov 22, 2023 · 0 comments · Fixed by #622
Closed

Add requestDevice User Prompt BiDi Extension Section to Bluetooth Spec #616

outofambit opened this issue Nov 22, 2023 · 0 comments · Fixed by #622

Comments

@outofambit
Copy link

outofambit commented Nov 22, 2023

Summary

Specify a WebDriver BiDi extension that grants control over user prompts produced by the Web Bluetooth API.

Location of spec prose

Precedent exists in webdriver classic for specifying extensions in the relevant specification of the given technology rather than in the webdriver spec. The BTT Working Group has signaled that this is how it should work for BiDi.

Primary Goal

Allow a web developer to test their application using Web Bluetooth and automate responding to user prompts.

How this is different from Permissions

This extension will automate responding to a user prompt produced by navigator.bluetooth.requestDevice, which allows a user to choose a specific device to connect to. A side effect of requestDevice is granting permission to access a specific device.

The WebDriver BiDi group is already working on a general permissions extension. Automation of the browser powerful feature permissions required by navigator.bluetooth.requestDevice will be handled by that extension.


References
reillyeon added a commit that referenced this issue Apr 23, 2024
Closes #616

Co-authored-by: Michael "Z" Goddard <[email protected]>
Co-authored-by: Reilly Grant <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant