diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-10-02 18:40:10 -0500 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-10-02 18:40:10 -0500 |
commit | d9dfc2c44bde40f9787b8c0b8d813e147c937929 (patch) | |
tree | f084969ef489f13dd8d147b67a3cba436e4760ff | |
parent | c9482f642e51a3505ef491078d9761aa83d5761b (diff) | |
download | lua4win-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-x | test | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15,9 +15,11 @@ DISPLAY=:99 xdotool mousemove --window "$win" --sync 180 285 | |||
15 | DISPLAY=:99 xdotool sleep 1 | 15 | DISPLAY=:99 xdotool sleep 1 |
16 | DISPLAY=:99 xdotool click 1 | 16 | DISPLAY=:99 xdotool click 1 |
17 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/2.png | 17 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/2.png |
18 | DISPLAY=:99 xdotool sleep 1 | ||
18 | # Click Install | 19 | # Click Install |
19 | DISPLAY=:99 xdotool mousemove --window "$win" --sync 333 333 | 20 | DISPLAY=:99 xdotool mousemove --window "$win" --sync 333 333 |
20 | DISPLAY=:99 xdotool sleep 1 | 21 | DISPLAY=:99 xdotool sleep 1 |
21 | DISPLAY=:99 xdotool click 1 | 22 | DISPLAY=:99 xdotool click 1 |
23 | DISPLAY=:99 xdotool sleep 1 | ||
22 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/3.png | 24 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/3.png |
23 | tar -czf images.tar.gz *.png | 25 | tar -czf images.tar.gz *.png |