Home > Software design >  I am trying to use webdriver in the selenium module but I keep getting an error no matter what I
I am trying to use webdriver in the selenium module but I keep getting an error no matter what I

Time:09-28

As stated, I am trying to use webdriver.Chrome in this sample project I'm doing but I am completely lost on what to do. This is the error I get error. But when I look at the version of chrome I installed, it seemed to match up. Chrome Version. Does anyone know what's happening? Sorry if the post is too unspecific.

CodePudding user response:

You have to update your chrome browser. Try to update the installed chrome version to latest version.

CodePudding user response:

To overcome this problem, use WebDriverManager: refer - https://bonigarcia.dev/webdrivermanager/ and https://github.com/bonigarcia/webdrivermanager.

If you are using Python with selenium, refer to this post for sample code:

Chrome with WebDriver--Why is it disappearing as soon as I hit "run"? Chrome Driver version 106 but Chrome can only be 105.0.9

If you are using Java with selenium, refer to this post for sample code:

element click intercepted in Selenium wedriver

  • Related