Hound.Session

Low-level session functions internally used by Hound, to work with drivers. See Hound.Helpers.Session for session helpers

Summary

Functions

Get list of active sessions

Creates a session associated with the current pid

Destroy a session

Get server’s current status

Get capabilities of a particular session

Set the timeout for a particular type of operation

Functions

active_sessions()

Specs

active_sessions :: Dict.t

Get list of active sessions

create_session(browser_name)

Specs

create_session(String.t) :: String.t

Creates a session associated with the current pid

destroy_session(session_id)

Specs

destroy_session(String.t) :: :ok

Destroy a session

server_status()

Specs

server_status :: Dict.t

Get server’s current status

session_info(session_id)

Specs

session_info(String.t) :: Dict.t

Get capabilities of a particular session

set_timeout(session_id, operation, time)

Specs

set_timeout(String.t, String.t, Integer.t) :: :ok

Set the timeout for a particular type of operation