← Back to microsoft/playwright
microsoft / playwright · Issue No. 42488
I want to test embedded devices (microcontrollers with usb serial connections), along with some bluetooth stuff.
How is the Serial Port connection dialog surfaced in playwright, I assume permission setting works but this is a question about the connection dialog, similarly how is the browser based web-BLE support testable with playwright?
An example page for testing web-serial: https://espressif.github.io/esptool-js/
Web-BLE here:
https://tyeth.github.io/deepsleep_espnow_wifi_and_ble_env_collector/webapp/?demo=1
And some work related web-BLE/web-serial stuff here: https://code.circuitpython.org/
Linked previous question asking if existing support for Web-USB (chrome only): #16626
I do this regularly, manually, both for fun and work related. This is needlessly manual, and any first class browser dialogs should be supported by playwright IMHO.
Firefox finally added Web-Serial support (still refusing web-usb), and Chromium-based browsers already have support (Chrome/Opera).
Relay reads this issue against the repository's contribution signals: the files it is likely to touch, how the maintainers triage work this size, and what the first contribution would exercise.
The full analysis for this issue is still being assembled. Until then, the description above and the thread on GitHub are the most reliable context.