CrawlerAnySelectorTextSame
extends Constraint
in package
FinalYes
Table of Contents
Properties
- $expectedText : string
- $selector : string
Methods
- __construct() : mixed
- toString() : string
- failureDescription() : string
- matches() : bool
Properties
$expectedText
private
string
$expectedText
$selector
private
string
$selector
Methods
__construct()
public
__construct(string $selector, string $expectedText) : mixed
Parameters
- $selector : string
- $expectedText : string
toString()
public
toString() : string
Return values
stringfailureDescription()
protected
failureDescription(mixed $other) : string
Parameters
- $other : mixed
Return values
stringmatches()
protected
matches(mixed $other) : bool
Parameters
- $other : mixed