WebBluetoothCG / web-bluetooth

Bluetooth support for the Web.
http://www.w3.org/community/web-bluetooth/
Other
1.37k stars 185 forks source link

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

Closed outofambit closed 2 months ago

outofambit commented 7 months ago

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