SeleniumSelector
class SeleniumSelector implements SelectorInterface (View source)
Class for handling Selenium-style element selectors.
Properties
private CssSelector | $_cssSelector | Reference to CSS selector. | |
private Escaper | $_xpathEscaper | The XPath escaper. |
Methods
__construct()
Creates instance of SeleniumSelector class.
string
translateToXPath(mixed $locator)
Translates provided locator into XPath.
Expectation
shouldReceive(string $name)
No description