Код: Выделить всё
Assert.assertFalse(driver.findElement(By.xpath("element's xpath")).isDisplayed(),
"Bug!! The element is appeared");
Что мне теперь делать? Моя идея состоит в том, чтобы убедиться, что элемент отсутствует на экране
Подробнее здесь: https://stackoverflow.com/questions/189 ... my-scripts
Мобильная версия