print(driver.current_url)
Here is what the above code is Doing:
1. We’re creating a new instance of the Chrome driver.
2. We’re telling the driver to get the page at the URL we provided.
3. We’re printing the current URL to the console.
print(driver.current_url)
Here is what the above code is Doing:
1. We’re creating a new instance of the Chrome driver.
2. We’re telling the driver to get the page at the URL we provided.
3. We’re printing the current URL to the console.