hound v1.0.2 Hound.Helpers.Window

Window size and other window-related functions

Summary

Functions

Close the current window

Get all window handles available to the session

Focus frame

Change focus to parent frame

Focus the window

Maximize the window

Get list of window handles available to the session

Get size of the window

Functions

close_current_window()

Specs

close_current_window :: nil

Close the current window

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

focus_window(window_handle)

Specs

focus_window(String.t) :: nil

Focus the window

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

Get list of window handles available to the session

window_size(window_handle)

Specs

window_size(String.t) :: tuple

Get size of the window