Skip to content

Instantly share code, notes, and snippets.

@Jiveloper
Created October 29, 2022 10:07
Show Gist options
  • Save Jiveloper/01a66f97338450de4c4ddfb2b76c6877 to your computer and use it in GitHub Desktop.
Save Jiveloper/01a66f97338450de4c4ddfb2b76c6877 to your computer and use it in GitHub Desktop.
블로깅 WDIO 구축
/**
* 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