I have a problem which I don't understand. This is what I have:
options = webdriver.ChromeOptions()
options.add_extension(r"C:\Users\x\OneDrive\Desktop\crxSolver.crx")
driver = webdriver.Chrome(r'C:\Users\x\OneDrive\Desktop\chromedriver.exe', options=options)
driver.get('https://www.google.com')
The problem is when I add an extension google chrome is not refreshing. What I mean is when I run what I have written, it will stay in:://data and when I press the refresh button on the top left corner it is going to my actual page. This is where I don't understand it. If I run my program without the option add extension it will go directly to the page that I want. Also, a guy tried to help me and he said that it isn't an error in the code. I have tried many different websites but it isn't working. I have the same version of chromedriver and google chrome.