Is there a way to use Python to check the url of the currently opened browser? -


i wanted write program continuously checks url of browser (e.g. chrome) , if equal www.youtube.com, want switch url. i'm stuck on trying find way check url of opened browser. webbrowser module opening new browsers?

edit: i've tried far webbrowser:

import webbrowser webbrowser.open('www.youtube.com') 


Comments

Popular posts from this blog

My HTML document is not linking to my CSS stylesheet properly -

php array slice every 2th rule -

node.js - Sending sockets to client side, Error: Converting circular structure to JSON -