void __construct(string $selector) Create a new constraint instance.
void __construct(string $source) Create a new constraint instance.
PageConstraint class PageConstraint extends PHPUnit_Framework_Constraint (
string toString() Get a string representation of the object. Placeholder
HasElement class HasElement extends
HasSource class HasSource extends
void __construct(string $selector, array $attributes = array()) Create
bool matches(Crawler|string $crawler) Check if the element is found in
Page 3 of 5