Method: AutomationObject::State::WaitForElements#single_run

Defined in:
lib/automation_object/state/hook_actions/wait_for_elements.rb

#single_runObject



9
10
11
12
13
14
15
16
# 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