Skip to main content
Version: Next

.waitForElements()

Wait for specified element(s) to appear and returns them as an array

Returns: * - Returns the array of WebElementPromises if found;

ParamTypeDescription
strategystring'id', 'name', 'className', 'xpath', 'css', 'tagName', 'linkText', 'partialLinkText', 'accessibilityId'
locatorstringvalue of element to search, corresponding to locator strategy