Class: Selenium::WebDriver::Element
Instance Method Summary
collapse
#find, #find_text, #multi_find, #multi_find_text, #to_nokogiri
Instance Method Details
#fill(text) ⇒ Object
86
87
88
89
90
|
# File 'lib/kirchhoff.rb', line 86
def fill(text)
$focus = self
send_key(text)
Kirchhoff::Logger.call :info, "fill '#{text}'"
end
|
#to_html ⇒ Object
92
93
94
|
# File 'lib/kirchhoff.rb', line 92
def to_html
attribute "outerHTML"
end
|
#waiter ⇒ Object
104
105
106
|
# File 'lib/kirchhoff.rb', line 104
def waiter
Selenium::WebDriver::Wait.new(timeout: 5)
end
|