mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 06:00:53 +03:00
18 lines
307 B
JavaScript
18 lines
307 B
JavaScript
/* global browser */
|
|
class Page {
|
|
constructor() {}
|
|
|
|
open(path) {
|
|
browser.url(path);
|
|
this.waitForPageToLoad();
|
|
}
|
|
|
|
/**
|
|
* @function waitForPageToLoad
|
|
* @returns {Object} An object representing the page.
|
|
* @throws ElementNotFound
|
|
*/
|
|
waitForPageToLoad() {}
|
|
}
|
|
module.exports = Page;
|