Skip to content

Instantly share code, notes, and snippets.

@Davidslv
Created April 1, 2020 18:33
Show Gist options
  • Save Davidslv/ac9b1558cde47490eaf5e298ee12a606 to your computer and use it in GitHub Desktop.
Save Davidslv/ac9b1558cde47490eaf5e298ee12a606 to your computer and use it in GitHub Desktop.
# gem instal rumouse
require 'rumouse'
x, y = 1527, 612
mouse = RuMouse.new
mouse.move x, y
0.upto(500) do
sleep 0.02
print '.'
mouse.click x, y
end
puts ''
@Davidslv
Copy link
Author

Davidslv commented Apr 1, 2020

# mouse.click x, y, 1, 500

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment