public String verifyThePageTitle(){
CommonUtilsObj=new CommonUtils(driver);
if(CommonUtilsObj.isElementPresent(pageTitle)){
String text= pageTitle.get(1).getText();
return text;
}
I am not able to return the text. But i want to return the text, please help meon the same.