找了很多例子,始终有报错,有谁能给一个例子吗?

org.openqa.selenium.WebDriverException: Not yet implemented. Please help us: http://appium.io/get-involved.html (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 3 milliseconds
Build info: version: '2.41.0', revision: '3192d8a6c4449dc285928ba024779344f5423c58', time: '2014-03-27 11:29:39'
System info: host: 'DST58593', ip: '172.16.171.211', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_05'
Driver info: io.appium.java_client.AppiumDriver

// 切换到最新的 web 视图
driver.switchTo().window("WEBVIEW");

使用这个就报错

启动 APP

// new 1.0 vison
        DesiredCapabilities capabilities = new DesiredCapabilities();
        capabilities.setCapability(CapabilityType.PLATFORM, "android");
        capabilities.setCapability("device", "Selendroid");
        capabilities.setCapability("app", app.getAbsolutePath());
        capabilities.setCapability("appPackage", "android.view");
        capabilities.setCapability("appActivity", ".home.BootActivity"); 


↙↙↙阅读原文可查看相关链接,并与作者交流