web_driver_client v0.2.0 WebDriverClient.Config View Source

Configuration for the webdriver connection

Link to this section Summary

Link to this section Types

Link to this type

build_opt()

View Source
build_opt() ::
  {:protocol, protocol()} | {:debug, boolean()} | {:http_client_options, list()}
Link to this type

protocol()

View Source
protocol() :: :jwp | :w3c
Link to this type

t()

View Source
t() :: %WebDriverClient.Config{
  base_url: String.t(),
  debug?: boolean(),
  http_client_options: list(),
  protocol: protocol()
}

Link to this section Functions

Link to this function

build(base_url, opts \\ [])

View Source
build(String.t(), [build_opt()]) :: t()

Builds a new Elixir.WebDriverClient.Config struct.

Link to this function

put_protocol(config, protocol)

View Source
put_protocol(t(), protocol()) :: t()

Sets the protocol