How to get Web page title in Serenity BDD? what are some other options to varify the Web page? -
i'm verifying web page open through test case. options verify page opened.
if still need after week: title use
getpages().getdriver().gettitle();
or just
getdriver().gettitle();
as how check whether page open – can skip step , wait element. if want wait page, could, example, use class level page object (@defaulturl), @at annotations.
Comments
Post a Comment