Created
March 12, 2020 14:25
This file contains 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
/* The locator that returns the expected element for the specified name */ | |
// making use of our locator in our test script // | |
var developer = browser.findElement(by.name('developer')); | |
// making use of our locator in our test script // | |
var tester = browser.findElement(by.name('tester')); | |
expect(developer.getText()).toBe('John'); | |
expect(tester.getText()).toBe('Mark'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment