wallaby v0.16.1 Wallaby.Query.XPath

Summary

Functions

Match any clickable buttons

Match any checkboxes

Matches any file field by name, id, or label

Match any input or textarea that can be filled with text. Excludes any inputs with types of submit, image, radio, checkbox, hidden, or file

XPath for links this xpath is gracious ripped from capybara via https://github.com/jnicklas/xpath/blob/master/lib/xpath/html.rb

Match any option by visible text

Match any radio buttons

Match any select by name, id, or label

Matches any element by its inner text

Types

id()
id() :: query
label()
label() :: query
name()
name() :: query
query()
query() :: String.t
xpath()
xpath() :: String.t

Functions

button(query)

Match any clickable buttons

checkbox(query)

Match any checkboxes

file_field(query)

Matches any file field by name, id, or label

fillable_field(query)

Match any input or textarea that can be filled with text. Excludes any inputs with types of submit, image, radio, checkbox, hidden, or file.

link(lnk)

XPath for links this xpath is gracious ripped from capybara via https://github.com/jnicklas/xpath/blob/master/lib/xpath/html.rb

option(query)

Match any option by visible text

radio_button(query)

Match any radio buttons

select(query)

Match any select by name, id, or label.

text(selector)

Matches any element by its inner text.