How to set Google Chrome in WebDriver

前端 未结 6 1917
庸人自扰
庸人自扰 2020-12-10 11:43

I am trying to set Chrome as my browser for testing with Web-Driver and set the chromedriver.exe file properly but I am still getting the following error:

or         


        
6条回答
  •  执念已碎
    2020-12-10 11:58

    Mac OS: You have to install ChromeDriver first:

    brew cask install chromedriver

    It will be copied to /usr/local/bin/chromedriver. Then you can use it in java code classes.

提交回复
热议问题