Selenium Java - Page Object Model
Given the following code snippet, what will be the output if the element is not found on the page?
public class LoginPage {
@FindBy(id = "submitBtn")
private WebElement submitButton;
public LoginPage(WebDriver driver) {
PageFactory.initElements(driver, this);
}
public boolean isSubmitButtonDisplayed() {
return submitButton.isDisplayed();
}
}