Class: AutomationObject::PageObject::Configuration

Inherits:
Base
  • Object
show all
Defined in:
lib/automation_object/page_object/configuration.rb

Class Method Summary collapse

Methods inherited from Base

get_property, set_property

Class Method Details

.base_url(url) ⇒ Object

Set base url

Parameters:



9
10
11
# File 'lib/automation_object/page_object/configuration.rb', line 9

def base_url(url)
  set_property(:base_url, url)
end

.default_screen(name) ⇒ Object

Parameters:

  • name (Const)


14
15
16
# File 'lib/automation_object/page_object/configuration.rb', line 14

def default_screen(name)
  set_property(:default_screen, name)
end

.screen_transition_sleep(time) ⇒ Object

Parameters:

  • time (Numeric)


19
20
21
# File 'lib/automation_object/page_object/configuration.rb', line 19

def screen_transition_sleep(time)
  set_property(:screen_transition_sleep, time)
end

.throttle_driver_methods(hash) ⇒ Object

Parameters:



24
25
26
# File 'lib/automation_object/page_object/configuration.rb', line 24

def throttle_driver_methods(hash)
  set_property(:throttle_driver_methods, hash)
end

.throttle_element_methods(hash) ⇒ Object

Parameters:



29
30
31
# File 'lib/automation_object/page_object/configuration.rb', line 29

def throttle_element_methods(hash)
  set_property(:throttle_element_methods, hash)
end