struct Marionette::Element

Included Modules

Defined in:

marionette/element.cr

Constant Summary

Log = ::Log.for("marionette.element")

Constructors

Instance Method Summary

Constructor Detail

def self.new(session : Session, id : String) #

[View source]

Instance Method Detail

def clear #

[View source]
def click #

[View source]
def css_property_value(name : String) #

[View source]
def displayed? #

[View source]
def enabled? #

[View source]
def execute(command, params = {} of String => String) #

[View source]
def find_child(selector, strategy : LocationStrategy = :css) #

[View source]
def find_children(selector, strategy : LocationStrategy = :css) #

[View source]
def height #

[View source]
def id : String #

[View source]
def location #

[View source]
def location_once_scrolled_to #

[View source]
def property(name : String) #

[View source]
def rect #

[View source]
def save_screenshot(path, scroll = true) #

[View source]
def scroll_to #

[View source]
def selected? #

[View source]
def send_keys(*keys) #

[View source]
def session : Session #

[View source]
def size #

[View source]
def submit #

[View source]
def tag_name #

[View source]
def take_screenshot(scroll = true) #

[View source]
def text #

[View source]
def to_json(builder : JSON::Builder) #

[View source]
def upload_file(filepath) #

[View source]
def value #

[View source]
def visible_text #

[View source]
def w3c? #

[View source]
def width #

[View source]
def x #

[View source]
def y #

[View source]