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