Finding Elements in Protractor
Submitted by harrydev on Tue, 01/15/2019 - 05:53To write end to end tests in any test automation, we first identify elements and then interact with them using locators.
We have discussed locators in Protractor using examples in previous article. Let us now understand ElementFinder and ElementArrayFinder with examples.
ElementFinder - element(locator)
The ElementFinder simply represents a single element of an ElementArrayFinder.