Using chrome 93

Its saying it wont work because it uses chrome 91 I have chrome 93 I have replaced the chromedriver in the data folder with 93 and still does not work

=============================16/09/2021 10:08:08
Detected Browser Cookies Generation
=============================16/09/2021 10:08:08
Using Dry-Transition-1560 - pass hidden -
=============================16/09/2021 10:08:08
UA in use = Mozilla/5.0 (Linux; Android 11) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.210 Mobile Safari/537.36
=============================16/09/2021 10:08:08
Driver Exists - move next
=============================16/09/2021 10:08:08
Init chrome config
=============================16/09/2021 10:08:10
System.InvalidOperationException: session not created: This version of ChromeDriver only supports Chrome version 91
Current browser version is 93.0.4577.82 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe (SessionNotCreated)
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeDriverService service, ChromeOptions options, TimeSpan commandTimeout)
at OpenQA.Selenium.Chrome.ChromeDriver..ctor(String chromeDriverDirectory, ChromeOptions options)
at RedditTasker.GenerateCookiesProcessor.Process(IJobData data)
=============================16/09/2021 10:08:10
Process Closed

Comments

  • I think no you did not do it correctly.

    You have replace the driver and reboot you system.
    That step will finalize the replace and only then in next run the drivers will be able to function properly.

    So,

    replace the driver in data folder
    reboot the system

    Start the program and see how it goes. :)

    Regards,
    AD

Sign In or Register to comment.