Selenium WebDriver.ChromeDriver Nuget package installed, but not working for MSTest

后端 未结 7 511
予麋鹿
予麋鹿 2020-12-17 16:06

I have added the WebDriver.ChromeDriver nuget package to my solution, which contains the ChromeDriver.exe file, required for Selenium WebDriver to run automated tests using

7条回答
  •  暖寄归人
    2020-12-17 16:38

    I had similar problem solved it by these 3 steps

    1.Goto google chrome drivers official site https://sites.google.com/a/chromium.org/chromedriver/downloads download and unpack

    2.Goto Visual Studio solution explorer click add -> existing file -> select chrome driver

    3.Right click on chrome driver in VS and select properties set it to always copy

提交回复
热议问题