class AutomationObject::BluePrint::HashAdapter::Top

Top composite

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/hash_adapter/top.rb, line 32
def base_url
  hash[: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/hash_adapter/top.rb, line 37
def default_screen
  default_screen = hash[: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/hash_adapter/top.rb, line 49
def screen_transition_sleep
  hash[:screen_transition_sleep] ||= 0
end
throttle_driver_methods() click to toggle source

@return [Hash] driver methods to throttle

# File lib/automation_object/blue_print/hash_adapter/top.rb, line 54
def throttle_driver_methods
  hash[:throttle_driver_methods] ||= {}
end
throttle_element_methods() click to toggle source

@return [Hash] element methods to throttle

# File lib/automation_object/blue_print/hash_adapter/top.rb, line 59
def throttle_element_methods
  hash[:throttle_element_methods] ||= {}
end