-
-
Save Jiveloper/01a66f97338450de4c4ddfb2b76c6877 to your computer and use it in GitHub Desktop.
블로깅 WDIO 구축
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* main page object containing all methods, selectors and functionality | |
* that is shared across all page objects | |
*/ | |
export default class Page { | |
/** | |
* Opens a sub page of the page | |
* @param path path of the sub page (e.g. /path/to/page.html) | |
*/ | |
open(path) { | |
return browser.url(`https://the-internet.herokuapp.com/${path}`); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment