ESP Web Tools uses WebSerial to allow users to install, update and manage firmware running on ESP microcontrollers: https://esphome.github.io/esp-web-tools/
You connect your phone to the desktop via USB, then navigate to the specific website. Then it uses a Web API to talk to the phone. I'm not sure whether it uses privileged access though.