HasInElement
class HasInElement extends PageConstraint (View source)
Methods
void
__construct(
string $element,
string $text)
Create a new constraint instance.
bool
matches(
Crawler|string $crawler)
Check if the source or text is found within the element in the given crawler.
Details
in PageConstraint at line line 110
string
toString()
Get a string representation of the object.
Placeholder method to avoid forcing definition of this method.
at line line 42
bool
matches(
Crawler|string $crawler)
Check if the source or text is found within the element in the given crawler.