In this site you can test the Webserial API with a Relay USB device.
Turn On
Turn Off
Turn On - Turn Off
Turn Off - Turn On