<li class="form-fields--border one-whole"> <label for="SendToCandidate_R1_MessageToCandidate" style="background-color: transparent;"> Message to candidate: * </label> <textarea id="SendToCandidate_R1_MessageToCandidate" class="MultilineControl" required="required" cols="53" rows="8" name="SendToCandidate_R1_MessageToCandidate" style="background-color: transparent;">Hello! Please complete the information on this form so that we can run a background report.</textarea> <div id="errorId_SendToCandidate_R1_MessageToCandidate" class="error-input">Message to candidate is required</div> </li>
Можно ли как-то унифицировать вот этот запрос
//label[contains(text(), 'First Name:*')]/following-sibling::input[@value='james']
чтобы можно было гибко использовать его? пробовал просто написать через or - не получилось.
Спасибо