https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/selectAlternateInterface
USBDevice: selectAlternateInterface() method - Web APIs | MDN
The selectAlternateInterface() method of the USBDevice interface returns a promise that resolves when the specified alternative endpoint is selected.
web apismethodmdn