Answers for "def get_chrome_driver(executable_path, chrome_options):"

1

selenium set chrome executable path

chromedriver = "/path/to/chromedriver"
options = Options()
options.binary_location = '/path/to/chrome'
driver = webdriver.Chrome(chromedriver, chrome_options=options)
Posted by: Guest on October-25-2020
0

selenium set chrome executable path

ChromeOptions options = new ChromeOptions();
options.setBinary("/path/to/chrome/binary");

ChromeDriver driver = new ChromeDriver(options);
Posted by: Guest on October-25-2020

Python Answers by Framework

Browse Popular Code Answers by Language