On objet.isDisplayed getting nosuch element present | Selenium Forum
M
Posted on 23/05/2016
Below is the condition I am executing
if(LogIn_Page.txtLanguage().isDisplayed()){
LogIn_Page.lnkLanguage().click();
}

If the Language element is not present on the page it is throwing an nosuchelement exception instead skipping on false.

Can anyone please help.

M
Replied on 25/05/2016

can send a screen shot?