LuckyFlow::Webless::Element
Inherits LuckyFlow::Element < Reference < Object
Constants
VISIBILITY_XPATH = "boolean(./ancestor-or-self::*[(((./@style[(contains(., 'display:none') or contains(., 'display: none'))] or ./@hidden) or ((name(.) = 'script') or (name(.) = 'head'))) or (not(./self::summary) and ./parent::details[not(./@open)]))])"
Constructors
new(driver, raw_selector, inner_element : HTML5::Node)
SourceInstance methods
append(value : String)
Add text to the end of a field
field = el("input[name='comment']")
field.fill("Lucky is:")
field.append(" So much fun!")
check
Sourcecheckbox?
Sourcechecked?
Sourceclear
Sourceclick
Sourcedisplayed?
Sourcefill(value : String)
Set the text of a form field
field = el("input[name='comment']")
field.fill("Lucky is great!")
midpoint
Sourceradio?
Sourceselected?
Sourceset_radio
Sourcetag_name
Sourcetext
Sourcevalue
Source