I have this code to recognize an element, but I want to put it in a loop for when the element no longer exists continue my process
/** Wait for an element to be visible for a specific period of time / @Then("^I wait element (.?) to be visible$") public void waitForElementVisible(String element) throws Exception { functions.waitForElementVisible(element); }