class

Selenium::Session

Inherits Reference < Object

Constructors

new(http_client : Selenium::HttpClient, command_handler : Selenium::CommandHandler, id : String)
Source

Instance methods

active_element
Source
alert_manager
Source
command_handler
Source
current_url
Source
delete
Source
document_manager
Source
find_element(using : LocationStrategy, value)
Source
find_element(using : Symbol, value)
Source
find_elements(using : LocationStrategy, value)
Source
find_elements(using : Symbol, value)
Source
http_client
Source
local_storage_manager
Source
move_to(x : Int32, y : Int32)
Source
move_to(element : Selenium::Element)
Source
perform_actions(action_sequence)
Source
release_actions
Source
screenshot(file_path : String | File)
Source
session_storage_manager
Source
set_timeouts(timeouts)
Source
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
Source
switch_to_parent_frame

TODO: reference switch_to_frame

Source
timeouts
Source
title
Source
window_manager
Source