class Selenium::Element
- Selenium::Element
- Reference
- Object
Defined in:
selenium/element.crConstant Summary
-
ELEMENT_KEY =
"element-6066-11e4-a52e-4f735466cecf"
Constructors
Instance Method Summary
-
#attribute(name)
#attribute
is for referencing static fields if you are trying to access fields that change you should use#property
- #clear
- #click
- #command_handler : CommandHandler
- #css_value(property_name)
- #displayed?
- #enabled?
- #find_child_element(using : Symbol, value)
- #find_child_element(using : LocationStrategy, value)
- #find_child_elements(using : Symbol, value)
- #find_child_elements(using : LocationStrategy, value)
- #id : ElementId
- #property(name)
- #rect
- #screenshot(file_path : String | File)
- #selected?
- #send_keys(keys : Array(String | Symbol))
- #send_keys(key : String)
- #session_id : SessionId
- #submit
- #tag_name
- #text
Constructor Detail
def self.new(command_handler : Selenium::CommandHandler, session_id : String, id : String)
#
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