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