Selenium Java - Page Object Model
Given the following page class snippet, what will be the output of
loginPage.getLoginButtonText() if the button text is "Sign In"?public class LoginPage {
@FindBy(id = "loginBtn")
private WebElement loginButton;
public String getLoginButtonText() {
return loginButton.getText();
}
}