HasElement
class HasElement extends PageConstraint (View source)
Methods
string toString() Returns a string representation of the object. void __construct(string $selector, array $attributes = array()) Create a new constraint instance. bool matches(Crawler|string $crawler) Check if the element is found in the given crawler.