i'm using Arquillian Graphene to get an element, and i want to be sur the get this one, becaus there is a lot of element with the same class and the id is generated so i can't really use it.
So, i'm looking for something like :
@FindBy(css="input[id*='contactPerson'] and [type='text']")
PS : i can't try it for the moment, that's why i ask that question, thank you for understanding.
EDIT :
This is how my input is generated.
<input id="contactPerson:contactPerson_input"
name="contactPerson:contactPerson_input"
type="text"
class="ui-autocomplete-input ui-inputfield ui-widget ui-state-default ui-corner-all ui-state-hover"
value="James Bond" role="textbox"aria-multiline="false">
Marco