kangour / autojs_sdk Goto Github PK
View Code? Open in Web Editor NEW基于 Autojs 的 APP、小程序自动化测试 SDK,支持:判断存在、等待出现、文本或颜色点击、循环点击、坐标拾取、语音播报等数十项能力。
License: MIT License
基于 Autojs 的 APP、小程序自动化测试 SDK,支持:判断存在、等待出现、文本或颜色点击、循环点击、坐标拾取、语音播报等数十项能力。
License: MIT License
我看了一下,是不是应该把click_item(click_text, 'no_tip')改成click_item(click_text, undefined, 'no_tip')
调用此SDK每次都会出现“投射/录制时显示敏感信息”提示,有办法去掉吗
无法使用,qq群也满了
你好。
1、我clone了你的仓库到本地,
2、然后在autojs_sdk文件夹下面创建了一个test.js的文件,
3、复制README.md里面的demo代码:
// 导入:从 lib.js 导入需要的方法
let { start_app, click_item, set_volume, wait_befor_click } = require('lib.js');
// 编写主函数:程序启动后执行的逻辑代码。
function main() {
wait_befor_click('发现', '跳过')
click_item('发现')
click_item('每日推荐')
click_item('播放全部')
set_volume(30)
}
// 启动应用:传入参数依次为:主函数,要启动的 App 名称,当前应用描述,是否语音播报执行状态。
start_app(main, '网易云音乐', '播放日推', true)
4、最后在vscode远程调试手机,报下面的错误:
[Extension Host] 09:37:23.211/E: Error: Module "lib.js" not found. (file:///android_asset/modules/jvm-npm.js#89)Error: Module "lib.js" not found. at Require (file:///android_asset/modules/jvm-npm.js:89:0) at [remote]test.js:2:0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.