Change login xpath

This commit is contained in:
valerpan 2026-08-10 23:07:53 +03:00
parent 0d2aabc988
commit b0043f7670

View File

@ -9,7 +9,7 @@ import org.openqa.selenium.support.PageFactory;
public class LoginPage extends HelpdeskBasePage {
// поиск элемента через xpath
@FindBy(xpath = "//*[@id='username']")
@FindBy(xpath = "//*[id='username']")
private WebElement user;
// поиск элемента по id