I want to get the URL of the currently open website in Chrome:
from selenium import webdriver
driver = webdriver.Chrome()
print(driver.current_url)
However this only opens a new Chrome window with "data:," as its url. What do I have to do to get for example "Youtube.com" when I have youtube open