Marionette::Element
Inherits Marionette::Logger / Struct / Value / Object
Constants
Log = ::Log.for("marionette.element")
Constructors
new(session : Session, id : String)
SourceInstance methods
clear
Sourceclick
Sourcecss_property_value(name : String)
Sourcedisplayed?
Sourceenabled?
Sourceexecute(command, params = {} of String => String)
Sourcefind_child(selector, strategy : LocationStrategy = :css)
Sourcefind_children(selector, strategy : LocationStrategy = :css)
Sourceheight
Sourceid
Sourcelocation
Sourcelocation_once_scrolled_to
Sourceproperty(name : String)
Sourcerect
Sourcesave_screenshot(path, scroll = true)
Sourcescroll_to
Sourceselected?
Sourcesend_keys(*keys)
Sourcesession
Sourcesize
Sourcesubmit
Sourcetag_name
Sourcetake_screenshot(scroll = true)
Sourcetext
Sourceto_json(builder : JSON::Builder)
Sourceupload_file(filepath)
Sourcevalue
Sourcevisible_text
Sourcew3c?
Sourcewidth
Source