bool matches(Crawler|string $crawler) Check if the input contains the expected
IsSelected class IsSelected extends
string toString() Returns a string representation of the object.
void __construct(string $element, string $text) Create a new constraint
bool matches(Crawler|string $crawler) Check if the source or text is found
HasText class HasText extends
bool matches(Crawler|string $crawler) Determine if the checkbox is checked
string getInputOrTextAreaValue(Crawler $crawler) Get the value of an input
void __construct(string $selector) Create a new constraint instance.
string toString() Get a string representation of the object. Placeholder
Page 2 of 5