zoukankan      html  css  js  c++  java
  • appium caps配置

    app_desired_caps:
    app: D:******apk                                                                 --app绝对路径
    appActivity: com.simplysmartframe.app.MainActivity         --app的activity
    appPackage: com.simplysmartframe.app                          --app包
    appWaitPackage: com.simplysmartframe.app         --等待的app包
    automationName: uiautomator2               --安卓5以下用uiautomator1,以上用uiautomator2
    deviceName: 127.0.0.1:62001              --设备名称,xiaomi9
    newCommandTimeout: 300                                               --超时时间,超过后driver会关闭
    noReset: true                                                                     --当前session下是否重置app状态
    noSign: true                                                                       --不进行签名检查
    platformName: Android                                                     --平台
    platformVersion: 5.1.1                                                       --版本
    port: 4723                                                                         --端口(不需要)
    resetKeyboard: true                                                          --重置回原来的输入法
    udid: 127.0.0.1:62001                                                       --唯一识别码
    unicodeKeyboard: true                                                     --为了输入中文,设置为这种输入法
    orientation:LANDSCAPE                                                 --横屏LANDSCAPE,竖屏PORTRAIT,一般不设置

  • 相关阅读:
    [PHP] ::class的具体作用
    [linux] 查看所有的系统用户
    [PHP] composer install和composer update的区别
    [PHP] 解决composer install报错: it could not be found in any version, there may be a typo in the package name
    [git] git中origin的含义
    [git] 打标签命令
    [git] git clone指定分支代码
    [git]git中分支的概念
    [PHP] 对象和引用
    [正则]正则表达式里面的?: ?! ?= ?<=
  • 原文地址:https://www.cnblogs.com/breakcircle/p/12515614.html
Copyright © 2011-2022 走看看