wallaby v0.9.0 Wallaby.XPath

Summary

Functions

Match any clickable buttons

Match any checkboxes

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

Types

Functions

button(query)

Match any clickable buttons

checkbox(query)

Match any checkboxes

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.