Connect to the selected device.
(e)
| 17 | |
| 18 | @when("click", "#pick-device") |
| 19 | async def connect_to_device(e): |
| 20 | """Connect to the selected device.""" |
| 21 | device = devices[devicesSelect.value] |
| 22 | video.srcObject = await device.get_stream() |
| 23 | |
| 24 | |
| 25 | @when("click", "#snap") |
nothing calls this directly
no test coverage detected