class AutomationObject::State::WaitForElements

Wait for elements hook loop

Public Instance Methods

single_run() click to toggle source
# File lib/automation_object/state/hook_actions/wait_for_elements.rb, line 9
def single_run
  blue_prints.each do |hook_element_requirement|
    hook_element_requirement = ElementRequirement.new(driver, hook_element_requirement, 1)
    return false unless hook_element_requirement.run
  end

  true
end