Python chrome opens with “Data;” with selenium
Instead of using this
from selenium.webdriver.chrome.options import Optionsoptions = options()
use this
options = webdriver.ChromeOptions()
and I would suggest you to put everything in the same project directory. which is a best practice.
Once you've put the chromedriver in the same directory.do this:
from os import getcwddriver = webdriver.Chrome(getcwd() + "\chromedriver.exe", options=options)
Also, try to close the old chrome windows.
It will go to data://
and after that it will redirect to your website.And also follow Jiya's answer as well.