|
Post by repolho666 on Nov 28, 2020 23:53:45 GMT
Hi all,
Sorry for the newbie questions, but im looking for a way to loop a scroll until i find a result... but didnt figured how to do this.
something like this:
while not find("image.png") do
-- scroll down
-- if find break the loop
end
i really appreciate
|
|
|
Post by AnkuLua on Nov 29, 2020 8:14:46 GMT
Try it
while (not exists("image.png")) do
swipe(Location(640, 300), Location(640, 600), 3) -- change the Location coordinates to your requirements -- scroll down end
|
|