Appium-Python 通过find_element_by_android_uiautomator后怎么连续点击两次,比如self.driver.find_element_by_android_uiautomator('new UiSelector().text("1")').click(),self.driver.find_element_by_android_uiautomator('new UiSelector().text("1")').click()后实际只点击了一次,log里也没有报错信息,显示两次点击成功

[HTTP] --> POST /wd/hub/session/3a6276af-1374-4434-8986-1877fdab23b9/element

[HTTP] {"using":"-android uiautomator","sessionId":"3a6276af-1374-4434-8986-1877

fdab23b9","value":"new UiSelector().text(\"1\")"}

[debug] [W3C] Calling AppiumDriver.findElement() with args: ["-android uiautomat

or","new UiSelector().text(\"1\")","3a6276af-1374-4434-8986-1877fdab23b9"]

[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class

name, accessibility id, -android uiautomator

[debug] [BaseDriver] Waiting up to 0 ms for condition

[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8205/w

d/hub/session/d34a8178-0291-4d5d-9f2d-ba6082e480cf/element] with body: {"strateg

y":"-android uiautomator","selector":"new UiSelector().text(\"1\")","context":""

,"multiple":false}

[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"d34a8178-0291

-4d5d-9f2d-ba6082e480cf","status":0,"value":{"ELEMENT":"7094742f-b379-4462-9ba2-

2c1e454f336d"}}

[debug] [W3C] Responding to client with driver.findElement() result: {"ELEMENT":

"7094742f-b379-4462-9ba2-2c1e454f336d"}

[HTTP]

67 ms - 122

[HTTP]

[HTTP] --> POST /wd/hub/session/3a6276af-1374-4434-8986-1877fdab23b9/element/709

4742f-b379-4462-9ba2-2c1e454f336d/click

[HTTP] {"sessionId":"3a6276af-1374-4434-8986-1877fdab23b9","id":"7094742f-b379-4

462-9ba2-2c1e454f336d"}

[debug] [W3C] Calling AppiumDriver.click() with args: ["7094742f-b379-4462-9ba2-

2c1e454f336d","3a6276af-1374-4434-8986-1877fdab23b9"]

[debug] [JSONWP Proxy] Proxying [POST /element/7094742f-b379-4462-9ba2-2c1e454f3

36d/click] to [POST http://localhost:8205/wd/hub/session/d34a8178-0291-4d5d-9f2d

-ba6082e480cf/element/7094742f-b379-4462-9ba2-2c1e454f336d/click] with body: {"e

lement":"7094742f-b379-4462-9ba2-2c1e454f336d"}

[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"d34a8178-0291

-4d5d-9f2d-ba6082e480cf","status":0,"value":true}

[debug] [W3C] Responding to client with driver.click() result: true

[HTTP]

4742f-b379-4462-9ba2-2c1e454f336d/click 200 3139 ms - 76

[HTTP]

[HTTP] --> POST /wd/hub/session/3a6276af-1374-4434-8986-1877fdab23b9/element

[HTTP] {"using":"-android uiautomator","sessionId":"3a6276af-1374-4434-8986-1877

fdab23b9","value":"new UiSelector().text(\"1\")"}

[debug] [W3C] Calling AppiumDriver.findElement() with args: ["-android uiautomat

or","new UiSelector().text(\"1\")","3a6276af-1374-4434-8986-1877fdab23b9"]

[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class

name, accessibility id, -android uiautomator

[debug] [BaseDriver] Waiting up to 0 ms for condition

[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8205/w

d/hub/session/d34a8178-0291-4d5d-9f2d-ba6082e480cf/element] with body: {"strateg

y":"-android uiautomator","selector":"new UiSelector().text(\"1\")","context":""

,"multiple":false}

[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"d34a8178-0291

-4d5d-9f2d-ba6082e480cf","status":0,"value":{"ELEMENT":"39c31733-3d13-4c05-93a8-

8e004d0cde41"}}

[debug] [W3C] Responding to client with driver.findElement() result: {"ELEMENT":

"39c31733-3d13-4c05-93a8-8e004d0cde41"}

[HTTP]

30 ms - 122

[HTTP]

[HTTP] --> POST /wd/hub/session/3a6276af-1374-4434-8986-1877fdab23b9/element/39c

31733-3d13-4c05-93a8-8e004d0cde41/click

[HTTP] {"sessionId":"3a6276af-1374-4434-8986-1877fdab23b9","id":"39c31733-3d13-4

c05-93a8-8e004d0cde41"}

[debug] [W3C] Calling AppiumDriver.click() with args: ["39c31733-3d13-4c05-93a8-

8e004d0cde41","3a6276af-1374-4434-8986-1877fdab23b9"]

[debug] [JSONWP Proxy] Proxying [POST /element/39c31733-3d13-4c05-93a8-8e004d0cd

e41/click] to [POST http://localhost:8205/wd/hub/session/d34a8178-0291-4d5d-9f2d

-ba6082e480cf/element/39c31733-3d13-4c05-93a8-8e004d0cde41/click] with body: {"e

lement":"39c31733-3d13-4c05-93a8-8e004d0cde41"}

[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"d34a8178-0291

-4d5d-9f2d-ba6082e480cf","status":0,"value":true}

[debug] [W3C] Responding to client with driver.click() result: true

[HTTP]

31733-3d13-4c05-93a8-8e004d0cde41/click 200 3131 ms - 76

python手机连续点击脚本_Appium-Python 通过 find_element_by_android_uiautomator 后怎么连续点击两次...相关推荐

  1. 明明安装了模块,还是出现 错误 ImportError: No module named ‘pandas‘ 原因LINUX上安装了多个python环境,将脚本中python 改为python3问题解

    明明安装了模块,还是出现 错误 ImportError: No module named 'pandas'  原因LINUX上安装了多个python环境,将脚本中python 改为python3问题解 ...

  2. python 手机测试_python脚本如何测试手机

    一.adb 相关命令: 1.关闭adb服务:adb kill-server 2.启动adb服务  adb start-server 3.查询当前运行的所有设备  adb devices 4.可能在ad ...

  3. python手机版3.7_【Python最新版】Python官方下载 v3.7.3 中文版-开心电玩

    软件介绍 Python最新版是一款支持跨平台的计算机编程语言,刚开始只是用于自动脚本开发,后来经过开发者的不断更新和添加新功能,现在主要应用于互联网开发.人工智能编程.软件开发等大型项目领域,而且相对 ...

  4. python手机版下载372-Mac下python环境的安装

    life is short, you need python. windows操作系统下相关环境安装比较繁琐,而linux则相对来说对新手比较不友好,再加上mac是我的第一台pc,所以我自然选择其作为 ...

  5. python手机app开发_利用python开发app实战的方法

    我很早之前就想开发一款app玩玩,无奈对java不够熟悉,之前也没有开发app的经验,因此一直耽搁了.最近想到尝试用python开发一款app,google搜索了一番后,发现确实有路可寻,目前也有了一 ...

  6. python手机连续点击脚本_selenium+python自动化86-循环点击遇到的坑

    selenium定位一组元素,批量操作循环点击的时候会报错:Element not found in the cache - perhaps the page has changed since it ...

  7. python点击屏幕坐标_Appium+python自动化(二十二)- 三个臭皮匠顶个诸葛亮-控件坐标获取(超详解)...

    简介 有些小伙伴或者是童鞋可能会好奇会问上一篇中的那个monkey脚本里的坐标点是如何获取的,不是自己随便蒙的猜的,或者是自己用目光或者是尺子量出来的吧,答案当然是:NO.获取控件坐标点的方式这里宏哥 ...

  8. python自动点击脚本_[Python] 【Python3】教你写页游自动化Python脚本 3.取色,大漠识别和后台点击...

    [Python] 纯文本查看 复制代码import win32com.client as wc,win32gui as wg,threading as xc,time,tkinter as tk,wi ...

  9. python手机app 授权登录_Appium+unittest+python登录app

    代码: # coding=utf-8 from appium import webdriver import time import unittest import os import HTMLTes ...

最新文章

  1. linux命令行3d,Linux命令行快捷键
  2. 没想到,他面试竟然挂在了Spring的这个点上...
  3. Django 学习(一)Django安装以及初步使用
  4. [深度学习基础] 4. 卷积神经网络
  5. 测试并发应用(七)配置Eclipse来调试并发代码
  6. Vue 强制刷新组件
  7. linux逻辑卷管理(LVM)
  8. matlab中的pascal函数
  9. 金融现金贷用户数据分析和用户画像(基于12万真实数据)
  10. Accuracy和Precision的区别
  11. php包含那点事情[WOOYUN]
  12. Java LocalDate类| 带示例的getMonth()方法
  13. 一个小型VC项目的开发
  14. 机器学习算法:K近邻(k-nearest neighbors)
  15. 阿里云DNS专家,手把手教你定位域名解析不生效
  16. Pycharm打开Project(工程)时停留在preparing workspace时间过长,导致打开很慢的解决方法...
  17. 支付宝小程序 支付时订单处理失败 报ALI38173
  18. Go语言 基础语法学习 (未完待更......
  19. Bank相关1_数据移行
  20. 使用crow创建一个c++的web服务

热门文章

  1. 循环链表——约瑟夫环
  2. 基于百度智能云的人脸识别系统
  3. Vox for Mac(音乐播放器)v3.3.8中文激活版
  4. mug网络用语_餐饮服务专用术语
  5. windows11的便签在哪里,详细教您使用win11便签
  6. 【华为OD机试真题 python】最大股票收益【2022 Q4 | 100分】
  7. 删除Windows右键菜单不必要功能
  8. 【银行系列第一期】中国人民银行
  9. 【STM32H7教程】第78章 STM32H7的QSPI总线基础知识和HAL库API
  10. matlab数组从零开始,MATLAB数组