View Source Pages.Driver.Conn (Pages v0.5.2)

A page driver for interacting with Phoenix controllers.

Link to this section Summary

Functions

Simulates clicking on an element at selector with title title.

Callback implementation for Pages.Driver.visit/2.

Link to this section Types

@type t() :: %Pages.Driver.Conn{conn: Plug.Conn.t()}

Link to this section Functions

Link to this function

click(page, atom, title, selector)

View Source
@spec click(Pages.Driver.t(), :get | :post, binary(), HtmlQuery.Css.selector()) ::
  Pages.Driver.t()

Simulates clicking on an element at selector with title title.

Callback implementation for Pages.Driver.visit/2.