Untitled

Anonymous
java
10/05/2022 4:05 AM
532 B
16
Indexable
public List<String> getPriceListNFT() throws InterruptedException {
        waitForElementPresent(priceListNFT);
        List<String> array = new ArrayList<String>();

        waitForElementPresent(priceListNFT);
         List<WebElement> elements  = getDriver().findElements(priceListNFT);
            elements.forEach(element -> array.add(element.getText()));
            return array;
}
Editor is loading...