Created
July 24, 2017 08:24
-
-
Save VasilyStrelyaev/45b4cf3dbbf3342b6a2ff9e74427d962 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
import { Selector } from 'testcafe'; | |
export class LoginPage { | |
constructor () { | |
this.login = Selector('#login_field'); | |
this.password = Selector('#password'); | |
this.signIn = Selector('.btn').withAttribute('value', 'Sign in'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment