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
Specs:
- current_window_handle :: String.t
Get all window handles available to the session
Specs:
- focus_frame(any) :: :ok
Focus frame
Specs:
- focus_parent_frame :: :ok
Change focus to parent frame
Specs:
- maximize_window(String.t) :: :ok
Maximize the window
Specs:
- set_window_size(String.t, integer, integer) :: :ok
Change size of the window
Specs:
- window_handles :: List.t
Get list of window handles available to the session
Specs:
- window_size(String.t) :: tuple
Get size of the window