From b9224b872f5bd027901cff424d9cfcb817c1c7a6 Mon Sep 17 00:00:00 2001 From: p7pxq89ba <1552050042@qq.com> Date: Sat, 2 Nov 2024 19:18:41 +0800 Subject: [PATCH] ADD file via upload --- writeword.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 writeword.js diff --git a/writeword.js b/writeword.js new file mode 100644 index 0000000..9173f30 --- /dev/null +++ b/writeword.js @@ -0,0 +1,22 @@ +app.launchApp("小红书"); + +sleep(3000); +//点击加号 +id("dx0").findOne().click() +sleep(3000); +//点击文字 +id("bf3").className("android.widget.TextView").text("文字").findOne().parent().click() + +//点击编辑 +id("caz").findOne().click() +sleep(3000); +//输入文字 +id("c3z").findOne().setText("你好,小红书!") +//点击下一步 +id("bey").findOne().click() +sleep(3000); +//点击下一步 +id("g5p").findOne().click() +sleep(3000); +//发布 +id("amn").findOne().click() \ No newline at end of file