Stop music from playing in headless browser
You need to include in your script to stop the music before closing the session of your headless browser.
I was learning how to play music using selenium so I wrote a program which would be used as a module to play music. Unfortunately I exited the python shell without exiting the headless browser and now the song is continuously playing.
Could someone tell me how I can find the current headless browser and exit it?