Just wanted to share the piece of code that uses the
isDisplayed() method to check if the element is exists/displayed
const el = await this.helpers.WebDriver._locate(locator, false); isDisplayed = (await el.isDisplayed());
Above is just an example. Pls make sure to traverse thru your elements array to produce the correct results.