Runtime session access protocol used by Cerberus drivers.
Summary
Types
@type last_result() :: result() | nil
@type operation() ::
:visit
| :click
| :fill_in
| :select
| :choose
| :check
| :uncheck
| :upload
| :submit
| :assert_has
| :refute_has
| :assert_path
| :refute_path
| :unwrap
@type result() :: %{ op: operation(), observed: observed() | nil, transition: transition() | nil }
@type t() :: struct()
@type transition() :: observed()
Functions
@spec last_result(t()) :: last_result()
@spec scope(t()) :: scope_value()
@spec with_scope(t(), scope_value()) :: t()