class

LuckyFlow::Element

Inherits Reference < Object

Instance 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!")
Source
attribute(name : String) : String | Nil
Source
attribute(name : Symbol) : String | Nil
Source
checked?
Source
clear
Source
click
Source
displayed?
Source
driver
Source
fill(value : String)

Set the text of a form field

field = el("input[name='comment']")

field.fill("Lucky is great!")
Source
fill(value : Time)
Source
hover
Source
midpoint
Source
property(name : String) : String | Nil
Source
property(name : Symbol) : String | Nil
Source
raw_selector
Source
select_option(value : String)
Source
select_options(values : Array(String))
Source
selected?
Source
selector
Source
send_keys(keys : Array(String | Symbol))
Source
send_keys(key : String)
Source
tag_name
Source
text
Source
value
Source

Macros

unsupported
Source