Created
July 19, 2019 14:27
-
-
Save SebDuf/b95103913c615b8497086d554816e738 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
client. | |
url('http://www.google.com') | |
.waitForElementVisible('body', 1000) | |
.assert.title('Google') | |
.assert.visible('input[type=text]') | |
.setValue('input[type=text]', 'nightwatch') | |
.waitForElementVisible('button[name=btnG]', 1000) | |
.click('button[name=btnG]') | |
.pause(1000) | |
.assert.containsText('#main', 'The Night Watch') | |
.end(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment