JRuby wrapper around sikuli java classes
Ruby
Pull request Compare This branch is 36 commits behind chaslemley:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
README.md
Rakefile
sikuli.gemspec

README.md

Sikuli Ruby

Sikuli allows you to interact with your application's user interface using image based search to automate user actions.

Requirements

Installation

gem install sikuli

Usage

require 'java'
require 'sikuli'

Sikuli::Config.run do |config| 
  config.image_path = "#{Dir.pwd}/images/"
  config.logging = false
end

screen = Sikuli::Screen.new
screen.click(10, 10) # should open your apple menu

app = Sikuli::App.new("iPhone Simulator")
app.window.click('ui_element.png') if app.window.exists?('ui_element.png')

Examples