IElementLocator
interface IElementLocator (View source)
Classes, that can search elements on a page must implement this interface.
Methods
getSearchContext()
Returns search context in use.
NodeElement|null
find()
Find the element.
NodeElement[]
findAll()
Find the element list.
string
__toString()
Returns string representation of a locator.
Expectation
shouldReceive(string $name)
No description
Details
at line 30
ISearchContext
getSearchContext()
Returns search context in use.
at line 37
NodeElement|null
find()
Find the element.
at line 44
NodeElement[]
findAll()
Find the element list.
at line 51
string
__toString()
Returns string representation of a locator.