It would be good to have automated tests that run in a headless browser to test the web serial API.
Although, I don't think cypress or puppeteer currently support device selection.
Maybe the first step is setting up a basic browser example for manual testing.