Class: Bucky::TestEquipment::PageObject::BasePageObject
- Inherits:
-
Object
- Object
- Bucky::TestEquipment::PageObject::BasePageObject
- Includes:
- SeleniumHandler::WaitHandler, Utils::YamlLoad
- Defined in:
- lib/bucky/test_equipment/pageobject/base_pageobject.rb
Constant Summary collapse
- FINDERS =
{ class: 'class name', class_name: 'class name', css: 'css selector', id: 'id', link: 'link text', link_text: 'link text', name: 'name', partial_link_text: 'partial link text', tag_name: 'tag name', xpath: 'xpath' }.freeze
Instance Method Summary collapse
-
#initialize(service, device, page_name, driver) ⇒ BasePageObject
constructor
A new instance of BasePageObject.
Methods included from SeleniumHandler::WaitHandler
Methods included from Utils::YamlLoad
#file_sort_hierarchy, #load_yaml
Constructor Details
#initialize(service, device, page_name, driver) ⇒ BasePageObject
Returns a new instance of BasePageObject.
28 29 30 31 |
# File 'lib/bucky/test_equipment/pageobject/base_pageobject.rb', line 28 def initialize(service, device, page_name, driver) @driver = driver generate_parts(service, device, page_name) end |