Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/
This is the standard function that i use,
public boolean isTheElemeentEditable(String lebel){ WebElementFacade element = ""; //enter a way to identify element. try{ element.sendKeys("test"); if(element.getValue().equals("test")) return true; return false; }catch (WebDriverException wde){ return false; } }
it helps with all kind of elements.
This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!
1.4k questions
1.6k answers
866 comments
1.9k users