Method: Watir::EventuallyPresent#wait_until_present
- Defined in:
- lib/watir-webdriver/wait.rb
#wait_until_present(timeout = nil) ⇒ Object
Waits until the element is present.
223 224 225 226 227 |
# File 'lib/watir-webdriver/wait.rb', line 223 def wait_until_present(timeout = nil) timeout ||= Watir.default_timeout = "waiting for #{selector_string} to become present" Watir::Wait.until(timeout, ) { present? } end |