Module: Ferrum::Frame::DOM

Defined in:
lib/fe_core_ext/gem_ext/ferrum.rb

Instance Method Summary collapse

Instance Method Details

#wait_for_css(selector, timeout: 3) ⇒ Object



26
27
28
# File 'lib/fe_core_ext/gem_ext/ferrum.rb', line 26

def wait_for_css(selector, timeout: 3)
  wait_for_selector(selector, :at_css, timeout)
end

#wait_for_csses(selector, timeout: 3) ⇒ Object



18
19
20
# File 'lib/fe_core_ext/gem_ext/ferrum.rb', line 18

def wait_for_csses(selector, timeout: 3)
  wait_for_selector(selector, :css, timeout)
end

#wait_for_xpath(selector, timeout: 3) ⇒ Object



30
31
32
# File 'lib/fe_core_ext/gem_ext/ferrum.rb', line 30

def wait_for_xpath(selector, timeout: 3)
  wait_for_selector(selector, :at_xpath, timeout)
end

#wait_for_xpaths(selector, timeout: 3) ⇒ Object



22
23
24
# File 'lib/fe_core_ext/gem_ext/ferrum.rb', line 22

def wait_for_xpaths(selector, timeout: 3)
  wait_for_selector(selector, :xpath, timeout)
end