how to get the url in python using selenium code example Example: how to get the url of the current page in selenium python print(driver.current_url)