zjffun blog

appium - 自动化测试安卓版的微信和支付宝

更新于 写于

常见问题

bash
aapt dump badging my.apk
js
const opts = {
  port: 4723,
  capabilities: {
    platformName: "Android",
    deviceName: "cancro_wc_lte",
    appPackage: "com.tencent.mm",
    appActivity: ".ui.LauncherUI",
    automationName: "UiAutomator2",
    // 加上这个
    noReset: true
  }
};
js
// webdriver.io example
driver.setImplicitTimeout(5000)