我正在为一个Android应用程序编写一个测试类,但是我一直得到错误代码,“项目没有构建,因为它的构建路径是不完整的。无法找到org.openqa.selenium.html5.BrowserConnection的类文件。修复构建路径,然后尝试构建这个项目。”每次我尝试将selenium Android驱动程序jar文件添加到项目中。我需要Android驱动程序正确地使用TestNG和Appium,否则Appium在测试时无法在页面上找到元素。;
im
使用phantomjs运行时也会发生同样的情况。goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: There was an error in the forked] at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:142)
[ERROR] at org.openqa.selenium.