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

后端 未结 7 507
予麋鹿
予麋鹿 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:25

    its resolves the issue :

    IWebDriver driver = new ChromeDriver(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));
    

提交回复
热议问题