Selenium Java - Page Object Model
Consider this code:
If the input element has placeholder="Enter your email", what will
@FindBy(xpath = "//input[@name='email']")
private WebElement emailInput;
public String getEmailPlaceholder() {
return emailInput.getAttribute("placeholder");
}If the input element has placeholder="Enter your email", what will
getEmailPlaceholder() return?