class Selenium::Session

Included Modules

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]
def self.new(pull : JSON::PullParser) #

[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 local_storage_manager #

[View source]
def move_to(x : Int32, y : Int32) #

[View source]
def move_to(element : Selenium::Element) #

[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 session_storage_manager #

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