class Selenium::Session
- Selenium::Session
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
selenium/session.crConstructors
- .new(http_client : Selenium::HttpClient, command_handler : Selenium::CommandHandler, id : String)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #active_element
- #alert_manager
- #command_handler : CommandHandler
- #cookie_manager
- #current_url
- #delete
- #document_manager
- #find_element(using : LocationStrategy, value)
- #find_element(using : Symbol, value)
- #find_elements(using : LocationStrategy, value)
- #find_elements(using : Symbol, value)
- #http_client : HttpClient
- #id : SessionId
- #local_storage_manager
- #move_to(x : Int32, y : Int32)
- #move_to(element : Selenium::Element)
- #navigate_to(url)
- #navigation_manager
- #perform_actions(action_sequence)
- #release_actions
- #screenshot(file_path : String | File)
- #session_storage_manager
- #set_timeouts(timeouts)
-
#switch_to_frame(id)
TODO write test once it is understood: - how to know/acquire the frame id - what a frame is - what switching frames will do
-
#switch_to_parent_frame
TODO reference switch_to_frame
- #timeouts
- #title
- #window_manager
Constructor Detail
def self.new(http_client : Selenium::HttpClient, command_handler : Selenium::CommandHandler, id : String)
#
Instance Method Detail
def switch_to_frame(id)
#
TODO write test once it is understood:
- how to know/acquire the frame id
- what a frame is
- what switching frames will do