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

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

php array slice every 2th rule -