Selenium webdriver not opening websites in default chrome profile
问题 I have tried selenium webdriver in Python and it works fine. But when I try to open default chrome profile it doesn't open the websites. The code is chromeOptions = webdriver.ChromeOptions() chromeOptions.add_argument("user-data- dir=/Users/prajwal/Library/Application Support/Google/Chrome") capability = DesiredCapabilities.CHROME capability["pageLoadStrategy"] = "normal" driver = webdriver.Chrome(desired_capabilities=capability, chrome_options=chromeOptions) driver.get("https://www.google