I am trying to click on a button in which text="Settings" or text="SETTINGS" using ignorecase.
My code:-
WebDriverWait wait = new WebDriverWait(driver, THIRTY_SECONDS);
return wait.until(ExpectedConditions.presenceOfElementLocated(By.name("Settings")));
How Can i click button with ignore case ? Is there a way to do it ?