selenium get page now code example Example 1: how to get the current web page link in selenium pthon driver.current_url Example 2: python phantomjs current url print(browser.current_url)