wallaby v0.19.1 Wallaby.HTTPClient View Source

Link to this section Summary

Functions

Sends a request to the webdriver API and parses the response

Link to this section Types

Link to this type method() View Source
method() :: :post | :get | :delete
Link to this type params() View Source
params() :: map | String.t
Link to this type request_opts() View Source
request_opts() :: {:encode_json, boolean}

Link to this section Functions

Link to this function request(method, url, params \\ %{}, opts \\ []) View Source
request(method, url, params, [request_opts]) ::
  {:ok, any} |
  {:error, :invalid_selector} |
  {:error, :stale_reference} |
  {:error, :httpoison}

Sends a request to the webdriver API and parses the response.