Nightwatch to select option from select box
问题 I am trying to use nightwatch.js to select an option from a select box. I have the code: this.browser.click('select[name="month"]') .pause(1000) .click('option[value="3"]') .click('select[name="day"]') .pause(1000) .click('option[value="6"]') .click('select[name="year"]') .pause(1000) .click('option[value="1989"]'); It selects the correct month, year on the page but not the day. Here's the HTML for the select box for the day: <select aria-label="Day" id="day" name="day" data-validatorGroup=