struct Marionette::Element

Included Modules

Defined in:

Constant Summary

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

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def clear #

def click #

def css_property_value(name : String) #

def displayed? #

def enabled? #

def execute(command, params = {} of String => String) #

def find_child(selector, strategy : LocationStrategy = :css) #

def find_children(selector, strategy : LocationStrategy = :css) #

def height #

def id : String #

def location #

def location_once_scrolled_to #

def property(name : String) #

def rect #

def save_screenshot(path, scroll = true) #

def scroll_to #

def selected? #

def send_keys(*keys) #

def session : Session #

def size #

def submit #

def tag_name #

def take_screenshot(scroll = true) #

def text #

def to_json(builder : JSON::Builder) #

def upload_file(filepath) #

def value #

def visible_text #

def w3c? #

def width #

def x #

def y #