Package org.primefaces.selenium.findby
Annotation Type FindByParentPartialId
Alternative
FindBy annotation, which should only be used in page fragments. It searches by id, starting from the parent element, based on the id of
the parent concatenated with value(). Sometimes, for example with appendTo="...", the child element is moved to somewhere else in the
DOM. In this case you have to set searchFromRoot() to true.
NOTE: If a sub-element under the parent does not have an ID but only a name you can use the name attribute to specify it and it will look for the name="xx" instead of ID.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionName attribute to find instead of using the ID of the component.boolean
-
Element Details
-
value
-
name
String nameName attribute to find instead of using the ID of the component.- Returns:
- the name attribute or default "".
- Default:
""
-
searchFromRoot
boolean searchFromRoot- Default:
false
-