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
Post a Comment