CONDITION







WebElement conditions - isDisplayed, isEnabled, isSelected
1. isDisplayed method used to check if any element is present on webpage, its return type is boolean. Use Try Catch block for checking the isDisplayed condition

2. isEnabled method used to check if any element is enabled on webpage, its return type is boolean

3. isSelected method used to check if any element is selected on webpage, its return type is boolean. This method is used for Radio button and Check box elements