Posts by Ramon Freitas • 1 point
1 post
-
-1
votes2
answers260
viewsA: How do I validate element (button) no longer present on the screen (was presented but is no longer) - Selenium Webdriver
I think you can do this : assertFalse(driver.findelements(By.cssSelector("#btn-two")). size() == 0);