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

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

c++ - Serialize a class with a Qlist of custom classes as member (using QDataStream) -

Read video using VideoReader function in Matlab? -