Class: AutomationObject::BluePrint::PageObjectAdapter::ElementHash

Inherits:
Composite show all
Includes:
ElementHelper, MultipleElementsHelper
Defined in:
lib/automation_object/blue_print/page_object_adapter/element_hash.rb

Overview

ElementHash composite

Instance Attribute Summary

Attributes inherited from Composite

#constant, #user_defined_module

Attributes inherited from Composite

#children, #location, #name, #parent

Instance Method Summary collapse

Methods included from MultipleElementsHelper

#custom_range, #remove_duplicates

Methods included from ElementHelper

#default_input, #in_iframe, #in_iframe?, #method_hook?, #method_hooks, #selector_params

Methods inherited from Composite

#create_composite, #get_child, #get_children, #get_page_object, #get_property, #initialize

Methods inherited from Composite

#add_has_many_relationships, #add_has_one_relationships, #get_child, #get_children, has_many, has_many_relationships, has_one, has_one_relationships, #initialize, #top

Methods included from Reflection

#add_alias, #add_attribute

Methods included from CompositeHook

#after_create_run, #before_create_run, included

Constructor Details

This class inherits a constructor from AutomationObject::BluePrint::PageObjectAdapter::Composite

Instance Method Details

#define_elements_bySymbol?

Returns element method to define element keys by

Returns:

  • (Symbol, nil)

    element method to define element keys by



17
18
19
20
21
# File 'lib/automation_object/blue_print/page_object_adapter/element_hash.rb', line 17

def define_elements_by
  return nil unless get_property(:define_elements_by)

  get_property(:define_elements_by).to_sym
end