Is there any way so that we can parameterize the string which we pass to create a page object using a page factory?
ex:
String v = "password";
@FindBy(name=v)
private WebElementFacade password_Field;
I am trying to push the string v into the @FindBy but I am getting an error.
I am getting The value for annotation attribute FindBy.name must be a constant expression.