You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using serenity screenplay and using Ensure to assert that the element is displayed.
Works:
BrowseTheWeb.as(theActorInTheSpotlight()).getDriver().findElement(By.xpath(“”)).isDisplayed();
Did Not Work:
TheActorInTheSpotlight.attemptsTo(Ensure.that(TARGET).isDisplayed());
any reason why the Ensure way is failing?
The text was updated successfully, but these errors were encountered:
It is wired..i have a few Ensure statements. All of them work fine except one so the Ensure method is working. Keep getting element not present on the DOM for one of the elements but work when i use getDriver();
I am using serenity screenplay and using Ensure to assert that the element is displayed.
Works:
BrowseTheWeb.as(theActorInTheSpotlight()).getDriver().findElement(By.xpath(“”)).isDisplayed();
Did Not Work:
TheActorInTheSpotlight.attemptsTo(Ensure.that(TARGET).isDisplayed());
any reason why the Ensure way is failing?
The text was updated successfully, but these errors were encountered: