Last active
August 29, 2015 14:00
-
-
Save otaviomedeiros/11228971 to your computer and use it in GitHub Desktop.
xdotool
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install xdotool | |
# check java version on firefox | |
xdotool search --name "Verify Java Version" windowactivate --sync mousemove --window %1 500 350 click 1 | |
# click on run button of java security warning | |
xdotool search --name "Security Information" windowactivate --sync mousemove --window %1 410 290 click 1 | |
# SCREENSHOT, needs imagemagick | |
import -window root screenshot.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment