Page
class Page extends DocumentElement implements ISearchContext (View source)
The base class to be used for making classes representing pages, that can contain WebElements.
Properties
protected IPageFactory | $pageFactory | Page factory, used to create a Page. | |
protected IBuilder | $urlBuilder | The builder which generates the url. |
Methods
string
getAbsoluteUrl(array $params = array())
Returns full url to the page with a possibility to alter it real time.
boolean
opened()
Checks if the page is currently opened in browser.
Expectation
shouldReceive(string $name)
No description
Details
at line 45
__construct(IPageFactory $page_factory)
Initialize the page.
at line 62
string
getAbsoluteUrl(array $params = array())
Returns full url to the page with a possibility to alter it real time.
at line 114
boolean
opened()
Checks if the page is currently opened in browser.