HasInElement
class HasInElement extends PageConstraint (View source)
Methods
string | toString() Get a string representation of the object. | from PageConstraint |
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. |
Please login to continue.