module Bucky::TestEquipment::SeleniumHandler::WaitHandler
Public Instance Methods
wait_until_helper(timeout, interval, ignore, &block)
click to toggle source
# File lib/bucky/test_equipment/selenium_handler/wait_handler.rb, line 12 def wait_until_helper(timeout, interval, ignore, &block) wait = Selenium::WebDriver::Wait.new(timeout: timeout, interval: interval, ignore: [ignore]) wait.until { block.call } rescue Selenium::WebDriver::Error::TimeoutError raise ignore, "Wait until the limit times for #{caller[1][/`([^']*)'/, 1]}\n #{$ERROR_INFO.message}" end