class Selenium::WebDriver::Element
Public Instance Methods
click(t=10, &block)
click to toggle source
# File lib/smart_driver.rb, line 70 def click(t=10, &block) origin_click() if block_given? wait = Selenium::WebDriver::Wait.new(timeout: t) wait.until(&block) end end
Also aliased as: origin_click
fill(text)
click to toggle source
# File lib/smart_driver.rb, line 78 def fill(text) $focus = self logging :info, "fill '#{text}'" send_key(text) end