0

We have been using Selenium 3 (selenium-java 3.141.59)with Chrome Driver version 77. Lately we are trying use Chrome Driver version 83 or even Chrome Driver 107 with Selenium 3. Does going to Chrome version 83 or 104 require an upgrade to Selenium 4?

aeje
  • 239
  • 1
  • 9

1 Answers1

0

Using and/or broadly and ChromeDriver major version must be in sync.

You can find a couple of relevant detailed discussions in:


However, using Selenium v4.6 and onwards Selenium Manager would automatically download the matching ChromeDriver and you can simply:

  • Python sample code block:

    from selenium import webdriver
    from selenium.webdriver.chrome.options import Options
    
    options = Options()
    options.add_argument("start-maximized")
    driver = webdriver.Chrome(options=options)
    driver.get("https://www.google.com/")
    
  • Java sample code block:

    import org.openqa.selenium.WebDriver;
    import org.openqa.selenium.chrome.ChromeDriver;
    import org.openqa.selenium.chrome.ChromeOptions;
    
    ChromeOptions options = new ChromeOptions();
    options.addArguments("--start-maximized");
    WebDriver driver = new ChromeDriver(options);
    driver.get("https://www.google.com/");
    
undetected Selenium
  • 183,867
  • 41
  • 278
  • 352