20 module Sikuli::Clickable
22 @java_obj.hover(org.sikuli.script::Location.new(x, y).offset(x(), y()))
27 def wait_and_click(pic, time)
28 # It's undocumented, but wait() returns the matched region, so we
29 # compute the middle of it and click() there instead of letting
30 # click() scan for the picture again.
31 r = self.wait(pic, time)
40 hover(self.width, self.height/2)
45 Sikuli::Config.run do |config|
46 config.image_path = "#{Dir.pwd}/features/images/"
47 config.logging = false
48 config.highlight_on_find = false