selenium check url python code example Example: python phantomjs current url print(browser.current_url)