class Selenium::WebElement

Defined in:

webdriver/web_element.cr

Constant Summary

LOCATORS = {id: "id", name: "name", tag_name: "tag name", class_name: "class name", css: "css selector", link_text: "link text", partial_link_test: "partial link text", xpath: "xpath"}

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(session : Selenium::Session, item) #

[View source]

Class Method Detail

def self.locator_for(by) #

[View source]

Instance Method Detail

def ==(other : WebElement) #

[View source]
def attribute(name) #

[View source]
def clear #

[View source]
def click #

[View source]
def css(property) #

[View source]
def displayed? #

[View source]
def enabled? #

[View source]
def find_element(by, selector) #

[View source]
def find_elements(by, selector) #

[View source]
def id : String #

[View source]
def location #

[View source]
def location_in_view #

[View source]
def name #

[View source]
def selected? #

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

[View source]
def send_keys(sequence : Array) #

[View source]
def size #

[View source]
def submit #

[View source]
def text #

[View source]
def to_json(io) #

[View source]