Hound.Helpers.Window

Window size and other window-related functions

Summary

Functions

Get all window handles available to the session

Focus frame

Change focus to parent frame

Maximize the window

Get list of window handles available to the session

Get size of the window

Functions

current_window_handle()

Specs

current_window_handle :: String.t

Get all window handles available to the session

focus_frame(frame_id)

Specs

focus_frame(any) :: :ok

Focus frame

focus_parent_frame()

Specs

focus_parent_frame :: :ok

Change focus to parent frame

maximize_window(window_handle)

Specs

maximize_window(String.t) :: :ok

Maximize the window

set_window_size(window_handle, width, height)

Specs

set_window_size(String.t, integer, integer) :: :ok

Change size of the window

window_handles()

Specs

window_handles :: List.t

Get list of window handles available to the session

window_size(window_handle)

Specs

window_size(String.t) :: tuple

Get size of the window