这是我的配置
Appium在模拟器中启动应用程序,但之后无法执行任何操作。它无法找到元素。 Here是完整的appium日志
// Requires the webdriverio client library
// (npm install webdriverio)
// Then paste this into a .js file and run with Node:
// node <file>.js
const wdio = require('webdriverio');
const caps = {"platformName":"Android","platformVersion":"7.0","deviceName":"Nexus_5X_API_24","app":"/app/build/outputs/apk/debug/app-debug.apk","automationName":"UiAutomator2","autoWebView" :"false"};
const driver = wdio.remote({
protocol: "http",
host: "localhost",
port: 4723,
path: "/wd/hub",
desiredCapabilities: caps
});
driver.init();
.element("com.androidappapp.androidappclient:id/input_email")
.setValue('test@test.com')
.end();