drop.chapril.org-firefoxsend/test/integration/pages/desktop/page.js
2018-11-01 10:44:47 -07:00

22 lines
357 B
JavaScript

/* global browser */
class Page {
constructor(path) {
this.path = path;
}
open() {
browser.url(this.path);
this.waitForPageToLoad();
}
/**
* @function waitForPageToLoad
* @returns {Object} An object representing the page.
* @throws ElementNotFound
*/
waitForPageToLoad() {
return this;
}
}
module.exports = Page;