happybara-0.0.1: Acceptance test framework for web applications

Stabilityexperimental
MaintainerCharles Strahan <charles.c.strahan@gmail.com>
Safe HaskellSafe-Inferred

Happybara.XPath

Description

This module provides XPath constructors for common HTML queries. The Text argument is the locator (e.g. id, type, href, etc), and the Bool argument indicates whether the generated XPath should match exactly or inexactly.

XPath string literals can be properly quoted and escaped using stringLiteral.

Note: These functions are mostly meant for internal use; you probably want to use the queries in Happybara.Query.

Documentation