class Selenium::Element

Defined in:

selenium/element.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(command_handler : Selenium::CommandHandler, session_id : String, id : String) #

[View source]

Instance Method Detail

def attribute(name) #

meant to reference static fields if you are trying to access fields that change you should use #property


[View source]
def clear #

[View source]
def click #

[View source]
def command_handler : CommandHandler #

[View source]
def css_value(property_name) #

[View source]
def displayed? #

[View source]
def enabled? #

[View source]
def find_child_element(using : Symbol, value) #

[View source]
def find_child_element(using : LocationStrategy, value) #

[View source]
def find_child_elements(using : Symbol, value) #

[View source]
def find_child_elements(using : LocationStrategy, value) #

[View source]
def id : ElementId #

[View source]
def property(name) #

[View source]
def rect #

[View source]
def screenshot(file_path : String | File) #

[View source]
def selected? #

[View source]
def send_keys(keys : Array(String | Symbol)) #

[View source]
def send_keys(key : String) #

[View source]
def session_id : SessionId #

[View source]
def tag_name #

[View source]
def text #

[View source]