class Selenium::Session

Defined in:

selenium/session.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(http_client : Selenium::HttpClient, command_handler : Selenium::CommandHandler, id : String) #

[View source]

Instance Method Detail

def active_element #

[View source]
def alert_manager #

[View source]
def command_handler : CommandHandler #

[View source]
def cookie_manager #

[View source]
def current_url #

[View source]
def delete #

[View source]
def document_manager #

[View source]
def find_element(using : LocationStrategy, value) #

[View source]
def find_element(using : Symbol, value) #

[View source]
def find_elements(using : LocationStrategy, value) #

[View source]
def find_elements(using : Symbol, value) #

[View source]
def http_client : HttpClient #

[View source]
def id : SessionId #

[View source]
def navigate_to(url) #

[View source]
def navigation_manager #

[View source]
def perform_actions(action_sequence) #

[View source]
def release_actions #

[View source]
def screenshot(file_path : String | File) #

[View source]
def set_timeouts(timeouts) #

[View source]
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

[View source]
def switch_to_parent_frame #

TODO reference switch_to_frame


[View source]
def timeouts #

[View source]
def title #

[View source]
def window_manager #

[View source]