Hello, I am trying to use the Intern over CSS Selector ID to select a specific option from a select field.
<div class="controls">
<select id="customer.profile.dateOfBirth_day"
class="form-controlmb" name="customer.profile.dateOfBirth_day">
...options...
I have attempted the following commands:
.findByCssSelector('customer\.profile\.dateOfBirth_day > option:nth-child(3)')
.findByCssSelector('input[id="customer.profile.dateOfBirth_day"] > option:nth-child(3)')
Example of the code that I am using:
.findByCssSelector('customer.profile.dateOfBirth_day > option:nth-child(3)')
.click()
.end()
If anyone has any suggestions or solutions for me, I would greatly appreciate it. Thank you in advance!