When i use Assert.assertFalse(), to check the absence of an element, my scripts are getting failed
Assert.assertFalse(driver.findElement(By.xpath("element's xpath")).isDisplayed(),
"Bug!! The element is appeared");
When i run my code with the above script, my scripts are failing with the statement like "can't find the element, (Which is mentioned int he element's xpath)" Now what i have to do? My notion is to verify the element is not present in the screen