class Selenium::WindowManager

Defined in:

selenium/window_manager.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(command_handler : Selenium::CommandHandler, session_id : String) #

[View source]

Instance Method Detail

def close_window #

[View source]
def command_handler : CommandHandler #

[View source]
def fullscreen #

[View source]
def maximize #

[View source]
def minimize #

[View source]
def new_window(type : Symbol = :tab) #

[View source]
def resize_window(width : Int64 | Nil = nil, height : Int64 | Nil = nil) #

[View source]
def session_id : SessionId #

[View source]
def set_window_rect(width : Int64 | Nil = nil, height : Int64 | Nil = nil, x : Int64 | Nil = nil, y : Int64 | Nil = nil) : WindowRect #

[View source]
def set_window_rect(window_rect) #

[View source]
def switch_to_window(window_handle) #

[View source]
def window_handle #

[View source]
def window_handles #

[View source]
def window_rect #

[View source]