1options = webdriver.ChromeOptions()
2options.add_experimental_option("detach", True)
3driver = webdriver.Chrome(chrome_options=options, executable_path=r'C:\WebDrivers\chromedriver.exe')
1options = webdriver.ChromeOptions()
2options.add_experimental_option("detach", True)
3driver = webdriver.Chrome(options=options, executable_path=r'C:\WebDrivers\chromedriver.exe')