appium相关的知识

>adb shell dumpsys window | findstr mCurrentFocus

adb  devices

# 实例化字典
desired_caps = dict()
desired_caps['platformName'] = 'Android'
desired_caps['platformVersion'] = '9'
# devices
desired_caps['deviceName'] = 'emulator-5554'
# 包名
desired_caps['appPackage'] = 'com.android.settings'
# 应用名字
desired_caps['appActivity'] = '.Settings'

Appium-Python-Client安装换源

阿里云:pip install -i https://mirrors.aliyun.com/pypi/simple/ Appium-Python-Client

清华:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple Appium-Python-Client

需要配置好环境jdk等

appium driver install xcuitest appium driver install uiautomator2

npm install --global appium --drivers=xcuitest,uiautomator2

import time
from appium.options.android import UiAutomator2Options
from ap

相关推荐

  1. jvm相关知识

    2024-04-29 14:46:02       41 阅读
  2. 线程相关知识

    2024-04-29 14:46:02       30 阅读
  3. Django模板标签相关知识

    2024-04-29 14:46:02       36 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-04-29 14:46:02       16 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-04-29 14:46:02       16 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-04-29 14:46:02       15 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-04-29 14:46:02       18 阅读

热门阅读

  1. Vue.js(过渡)

    2024-04-29 14:46:02       11 阅读
  2. Linux内核驱动开发-001字符设备开发-002led杂项驱动

    2024-04-29 14:46:02       10 阅读
  3. Stylus入门使用方法

    2024-04-29 14:46:02       12 阅读
  4. UKP3D轴侧图出图按照哪些标准

    2024-04-29 14:46:02       8 阅读
  5. 在docker中安装paddle serving @FreeBSD(待续)

    2024-04-29 14:46:02       9 阅读
  6. c++课堂——动态规划

    2024-04-29 14:46:02       13 阅读
  7. 【排序算法】快速排序

    2024-04-29 14:46:02       11 阅读