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