我正在通过Visual studio运行Selenium C#项目,突然遇到一个错误
Access to the path 'c:\users\documents\visual studio 2017\Project\SeleniumTestProject\SeleniumTestProject\bin\Debug\chromedriver.exe' is denied.
我知道要正确关闭selenium,我需要使用driver.quit(),我的问题是,当我通过调试模式创建测试时,在使用断点执行的一半时间内就会停止测试。然后,我修复我需要的任何东西,停止调试,这样我就可以重新运行使chromedriver.exe运行的测试。
有办法在运行测试之前自动关闭这个驱动程序吗?Could not copy "C:\LocalWork\eCommerce\QAAutomation\UIAutomation\Branches\MealCu
我正在尝试使用Chrome驱动器来执行我的一些测试,这些测试在Firefox中运行得很好,但我无法执行它们,我已经验证了这些需求,即Chrome的位置,版本12或更高版本,等等,但是无论如何,调用驱动程序的方法仍然不正确(ChromeBinary.java:121) at org.openqa.selenium.chrome.ChromeBinary.prepareProcess(ChromeBinary.java:67) at org.openqa.selenium.chrome.Ch