class Selenium::Element
- Selenium::Element
- Reference
- Object
Defined in:
selenium/element.crConstructors
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
- #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