summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-10-02 18:40:10 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-10-02 18:40:10 -0500
commitd9dfc2c44bde40f9787b8c0b8d813e147c937929 (patch)
treef084969ef489f13dd8d147b67a3cba436e4760ff
parentc9482f642e51a3505ef491078d9761aa83d5761b (diff)
downloadlua4win-dist-lua-d9dfc2c44bde40f9787b8c0b8d813e147c937929.tar.gz
lua4win-dist-lua-d9dfc2c44bde40f9787b8c0b8d813e147c937929.tar.bz2
lua4win-dist-lua-d9dfc2c44bde40f9787b8c0b8d813e147c937929.zip
Add some sleep after clicking isntall before taking last picture
-rwxr-xr-xtest2
1 files changed, 2 insertions, 0 deletions
diff --git a/test b/test
index b413d67..d7d4ab6 100755
--- a/test
+++ b/test
@@ -15,9 +15,11 @@ DISPLAY=:99 xdotool mousemove --window "$win" --sync 180 285
15DISPLAY=:99 xdotool sleep 1 15DISPLAY=:99 xdotool sleep 1
16DISPLAY=:99 xdotool click 1 16DISPLAY=:99 xdotool click 1
17DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/2.png 17DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/2.png
18DISPLAY=:99 xdotool sleep 1
18# Click Install 19# Click Install
19DISPLAY=:99 xdotool mousemove --window "$win" --sync 333 333 20DISPLAY=:99 xdotool mousemove --window "$win" --sync 333 333
20DISPLAY=:99 xdotool sleep 1 21DISPLAY=:99 xdotool sleep 1
21DISPLAY=:99 xdotool click 1 22DISPLAY=:99 xdotool click 1
23DISPLAY=:99 xdotool sleep 1
22DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/3.png 24DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/3.png
23tar -czf images.tar.gz *.png 25tar -czf images.tar.gz *.png