摘要: auto.waitFor(); //初始化方法 function init() { events.observeKey(); events.on("key", function(keyCode, event){ if(keyCode == keys.volume_up){ toastLog("音量上 阅读全文
posted @ 2023-03-31 13:23 凡夫俗人一枚 阅读(14) 评论(0) 推荐(0)
摘要: /** * 30元起提,没有限制,只要求手机验证码 */ const deviceHeight=device.height const deviceWidth=device.width const halfDeviceHeight=deviceHeight/2 const halfDeviceWid 阅读全文
posted @ 2023-03-31 13:22 凡夫俗人一枚 阅读(17) 评论(0) 推荐(0)
摘要: /** * 1元起提,没有限制,只要求手机验证码 */ const deviceHeight=device.height const deviceWidth=device.width const halfDeviceHeight=deviceHeight/2 const halfDeviceWidt 阅读全文
posted @ 2023-03-31 13:21 凡夫俗人一枚 阅读(35) 评论(0) 推荐(0)
摘要: let DEFAULT_CONFIG = { // 配置初始化 initialized: true, // 开发者模式 developer: false, // 分辨率宽高比 aspect_ratio: "", // 缩放比率,当前分辨率和采样分辨率之比 scale_ratio: 1, // 全局找 阅读全文
posted @ 2023-03-31 13:20 凡夫俗人一枚 阅读(16) 评论(0) 推荐(0)
摘要: // 先运行config_main.js加载配置,避免忘记手动运行 try { engines.execScriptFile("./config_main.js"); } catch (error) { toastLog(error); exit(); } // 检查无障碍服务和截图服务 let i 阅读全文
posted @ 2023-03-31 13:19 凡夫俗人一枚 阅读(41) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2022-03-19 20:05 凡夫俗人一枚 阅读(4) 评论(0) 推荐(0)
摘要: 1,先在pc上下载和压缩投屏软件 2,在安卓手机上设置打开开发者模式 (usb是需要插线的,如果要无线连接就用adb) 阅读全文
posted @ 2021-11-19 01:24 凡夫俗人一枚 阅读(153) 评论(0) 推荐(0)
摘要: 数据盘大小20g 文件系统xfs 分区工具fdisk 1,虚拟机关机状态,打开设置新添加一个20g硬盘 2,重新启动虚拟机,并登陆linux,打开命令窗口 3,对磁盘进行分区 输入 fdisk -l 查看分区 在/dev/sdb 中创建一个分区 m 可查看帮助 n 添加新分区 w 保存并退出 fdi 阅读全文
posted @ 2021-10-01 16:57 凡夫俗人一枚 阅读(363) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-09-27 14:51 凡夫俗人一枚 阅读(17) 评论(0) 推荐(0)
摘要: 1,使用jmeter+badboy 录制进行性能测试 2,代理录制 如果添加录制控制器,目标控制器选择线程组 在浏览器中进行代理服务器设置(以火狐为例) 如果没有录制控制器会出现在线程组内 录制结束后,要在浏览器内关闭代理服务,否则连不上网 用户自定义变量 性能测试 如并发测试 需要文件参数化(模拟 阅读全文
posted @ 2021-09-25 18:05 凡夫俗人一枚 阅读(41) 评论(0) 推荐(0)