Created
April 20, 2015 06:23
-
-
Save jsdevel/3f3257675b917cde0230 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| module.exports = function Page(driver, endpoint) { | |
| this.driver = driver; | |
| this.get = function() { | |
| driver.get(endpoint + this.getPagePath()); | |
| return this; | |
| }; | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment