Skip to content

Instantly share code, notes, and snippets.

@mubbashir
Created July 9, 2011 21:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mubbashir/1073963 to your computer and use it in GitHub Desktop.
Save mubbashir/1073963 to your computer and use it in GitHub Desktop.
using Sikuli in ruby to click on apple icon (in mac os x)
require 'java'
java_import 'org.sikuli.script.Screen'
screen = Screen.new
image_path='/Users/mubbashir/Desktop'
screen.click("#{image_path}/apple.png", 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment