Class: Rukuli::Screen

Inherits:
Region
  • Object
show all
Defined in:
lib/rukuli/screen.rb

Instance Method Summary collapse

Methods inherited from Region

#height, #highlight, #method_missing, #width, #x, #y

Methods included from Searchable

#find, #find!, #find_all, #wait

Methods included from Typeable

#enter, #type

Methods included from Clickable

#click, #click_and_hold, #double_click, #drag_drop, #hover, #right_click, #wheel_down, #wheel_up

Constructor Details

#initializeScreen

Public: creates a new Screen object

Examples

screen = Rukuli::Screen.new

Returns the newly initialized Screen object


16
17
18
# File 'lib/rukuli/screen.rb', line 16

def initialize
  @java_obj = org.sikuli.script::Screen.new()
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Rukuli::Region