class AutomationObject::BluePrint::PageObjectAdapter::Top
Top
composite
Public Class Methods
new(defined_module)
click to toggle source
Calls superclass method
AutomationObject::BluePrint::PageObjectAdapter::Composite::new
# File lib/automation_object/blue_print/page_object_adapter/top.rb, line 14 def initialize(defined_module) super(defined_module, defined_module.const_get(:Configuration)) end
Public Instance Methods
base_url()
click to toggle source
@return [String, nil] base url to navigate to upon framework creation
# File lib/automation_object/blue_print/page_object_adapter/top.rb, line 19 def base_url get_property(:base_url) || nil end
default_screen()
click to toggle source
@return [Symbol, nil] default screen to be set when framework is created
# File lib/automation_object/blue_print/page_object_adapter/top.rb, line 24 def default_screen default_screen = get_property(:default_screen) case default_screen when Symbol, String return default_screen.to_sym else return nil end end
screen_transition_sleep()
click to toggle source
@return [Numeric] sleep when transitioning screens
# File lib/automation_object/blue_print/page_object_adapter/top.rb, line 36 def screen_transition_sleep get_property(:screen_transition_sleep) || 0 end
throttle_driver_methods()
click to toggle source
@return [Hash] driver methods to throttle
# File lib/automation_object/blue_print/page_object_adapter/top.rb, line 41 def throttle_driver_methods get_property(:throttle_driver_methods) || {} end
throttle_element_methods()
click to toggle source
@return [Hash] element methods to throttle
# File lib/automation_object/blue_print/page_object_adapter/top.rb, line 46 def throttle_element_methods get_property(:throttle_element_methods) || {} end