Untitled

 avatar
unknown
java
2 years ago
397 B
3
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...