15 lines
278 B
JavaScript
15 lines
278 B
JavaScript
export default class Page {
|
|
constructor() {}
|
|
|
|
open(path) {
|
|
browser.url(path);
|
|
this.waitForPageToLoad();
|
|
}
|
|
|
|
/**
|
|
* @function waitForPageToLoad
|
|
* @returns {Object} An object representing the page.
|
|
* @throws ElementNotFound
|
|
*/
|
|
waitForPageToLoad() {}
|
|
}
|