我试图使一个跟随/取消跟随机器人Depop。这是我到目前为止得到的。
tell application "Safari"
activate
end tell
set Username to display dialog "What is your Depop username?" default
answer ""
set Username to text returned of the result
tell application "Safari"
activate
open location "https://www.depop.com/" & Username
delay 5
end tell
tell application "System Events"
tell process "Safari"
click at {350, 305} -- {from left, from top}
click at {350, 305} -- {from left, from top}
click at {1038, 407} -- {from left, from top}
click at {1038, 482} -- {from left, from top}
delay 1
end tell
end tell
我试着让它点击follow,然后在另一个脚本中按unfollow。我正在努力使它向下滚动以点击跟随/取消跟随。此外,如果任何人有任何想法,如何使它更有效率,那么请让我知道。
1条答案
按热度按时间jfgube3f1#
您当前在Safari中打开了此页面。所以和我沿着滚动: