.waitForElements()
Wait for specified element(s) to appear and returns them as an array
Returns: * - Returns the array of WebElementPromises if found;
| Param | Type | Description |
|---|---|---|
| strategy | string | 'id', 'name', 'className', 'xpath', 'css', 'tagName', 'linkText', 'partialLinkText', 'accessibilityId' |
| locator | string | value of element to search, corresponding to locator strategy |