class Selenium::Element

Defined in:

selenium/element.cr

Constant Summary

ELEMENT_KEY = "element-6066-11e4-a52e-4f735466cecf"

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) #

#attribute is for referencing 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 submit #

[View source]
def tag_name #

[View source]
def text #

[View source]