Hound.Helpers.Window

Window size and other window-related functions

Summary

current_window_handle()

Get all window handles available to the session

focus_frame(frame_id)

Focus frame

focus_parent_frame()

Change focus to parent frame

maximize_window(window_handle)

Maximize the window

set_window_size(window_handle, width, height)

Change size of the window

window_handles()

Get list of window handles available to the session

window_size(window_handle)

Get size of the window

Functions

current_window_handle()

Specs:

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 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:

Get list of window handles available to the session

window_size(window_handle)

Specs:

Get size of the window