A
Size: a a a
A
S
S
EG
IB
Y
AS
P
EG
TF
VY
SR
TF
AP
WebDriverWait wait = new WebDriverWait(Driver.currentDriver(), 10, 1000);
wait.until(ExpectedConditions.or(
ExpectedConditions.elementToBeClickable(jiraDashboardPage.userProfileButton),
ExpectedConditions.presenceOfElementLocated(By.xpath("//div[contains(@class,\"aui-message\")]/p"))
);
AP
AP
public SelenideElement errorMessage = $(By.xpath("//div[contains(@class,\"aui-message\")]/p"));отрабатывает корректно, элемент ищется
...
if(errorMessage.exists()) System.out.println("Ошибка логина: "+errorMessage.text());
B
P
AP