props/Props/client/tests/e2e/pageobjects/app.page.js

16 lines
178 B
JavaScript

class App {
/**
* elements
*/
get heading () { return $('h1') }
/**
* methods
*/
open (path = '/') {
browser.url(path)
}
}
module.exports = new App()