Using Sikuli from Ruby

This article is not related to Ruby-Cucumber. We are going to show you how to configure and code Sikuli in Ruby. Rukuli is the gem for Sikuli implementation in Ruby. Let’s jump into the snippets.


SikuliX 1.0.1 (Install sikuli-java.jar (option 4) via sikuli-setup.jar)

JRuby is a high performance, stable, fully threaded Java implementation of the Ruby programming language.

Configure Sikuli Jar

Create SIKULIX_HOME environment variable and set the path of the Sikuli jar file

Install Rukuli Gem

gem install rukuli

Once the Gem installation and configurations are done, try the below snippets with expected images.

Wait for an image

Click on image

Click on centre of an image

Double click on centre of an image

Type text on an image

Leave a Reply

Your email address will not be published. Required fields are marked *