Selenium Java - Page Object Model
Given the code snippet:
What will happen if the element with id "submitBtn" is not present on the page when
@FindBy(id = "submitBtn")
private WebElement submitButton;
public void clickSubmit() {
submitButton.click();
}What will happen if the element with id "submitBtn" is not present on the page when
clickSubmit() is called?