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