当前位置:网站首页>Auto.js 特殊定位控件方法 不能在ui线程执行阻塞操作,请使用setTimeout代替
Auto.js 特殊定位控件方法 不能在ui线程执行阻塞操作,请使用setTimeout代替
2022-08-02 23:40:00 【51CTO】
<table><tr><td bgcolor=orange>本文所有教程及源码、软件仅为技术研究。不涉及计算机信息系统功能的删除、修改、增加、干扰,更不会影响计算机信息系统的正常运行。不得将代码用于非法用途,如侵立删!</td></tr></table>
Auto.js 特殊定位控件方法
操作环境
- win10
- nexus5x
- Auto.js 7.4
- VS code
在页面中不能通过id、desc、text定位时通过以下方法定位并提取需要的数据
className(“控件类名”).depth(控件的depth).indexInParent(控件的indexInParent).find()
然后通过forEach循环 text()提取数据
不能在ui线程执行阻塞操作,请使用setTimeout代替
<table><tr><td bgcolor=orange>本文仅供学习交流使用,如侵立删!</td></tr></table>
边栏推荐
猜你喜欢
随机推荐
6、Powershell命令配置Citrix PVS云桌面桌面注销不关机
十年架构五年生活-04第一个工作转折点
【代码扫描修复】MD5加密弱HASH漏洞
【多线程】线程与进程、以及线程进程的调度
scala 集合通用方法
2022暑假牛客多校1 (A/G/D/I)
NLP常用Backbone模型小抄(1)
CKAN教程之将 Snowflake 连接到 CKAN 以发布到开放数据门户
基于飞腾平台的嵌入式解决方案案例集 1.0 正式发布!
Week 7 - Distributional Representations
Merge two excel spreadsheet tools
科研用Cholesterol-PEG-NHS,NHS-PEG-CLS,胆固醇-聚乙二醇-活性酯
No code development platform data ID introductory tutorial
js基础知识整理之 —— 判断语句和三元运算符
Database auditing - an essential part of network security
十年架构五年生活-03作为技术组长的困扰
I have been in the software testing industry for nearly 20 years, let me talk to you about today's software testing
The latest real software test interview questions are shared. Are you afraid that you will not be able to enter the big factory after collecting them?
数据库审计 - 网络安全的重要组成部分
简单聊聊MySQL中的六种日志







