Selenium::WebElement
Constants
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
new(session : Selenium::Session, item)
SourceClass methods
locator_for(by)
SourceInstance methods
==(other : WebElement)
Sourceattribute(name)
Sourceclear
Sourceclick
Sourcecss(property)
Sourcedisplayed?
Sourceenabled?
Sourcefind_element(by, selector)
Sourcefind_elements(by, selector)
Sourceid
Sourcelocation
Sourcelocation_in_view
Sourcename
Sourceselected?
Sourcesize
Sourcesubmit
Sourcetext
Sourceto_json(io)
Source