This is the quick hack I use to check my microphone is working with my browser:
https://homepages.inf.ed.ac.uk/imurray2/tmp/echo_recorder.ht...
It's a self-contained page, using just javascript without sending any data anywhere. You can take a copy of the .html file and use it locally, or host it somewhere you control.