hound v1.0.2 Hound.Browser behaviour

Low level functions to customize browser behavior

Summary

Functions

Creates capabilities for the browser and options, to be sent to the webdriver

Returns a user agent string

Types

t :: Hound.BrowserLike.t

Functions

make_capabilities(browser_name, opts \\ [])

Specs

make_capabilities(t, map | Keyword.t) :: map

Creates capabilities for the browser and options, to be sent to the webdriver

user_agent(ua)

Specs

user_agent(String.t | atom) :: String.t

Returns a user agent string

Callbacks

default_user_agent()

Specs

default_user_agent :: String.t | atom
user_agent_capabilities(arg0)

Specs

user_agent_capabilities(String.t) :: map