I am so far unable to get my test to select from a dropdown option menu and was wondering how this is done.
I have HTML lke:
<select class="abc">
<option value="One">One</option>
<option value="Two">Two</option>
<option value="Three">Three</option>
</select>
My test looks like:
browser
.url(somepath)
.waitForElementVisible('.abc', 5000)
.click('.abc')
.waitForElementVisible('option[value="Three"]', 5000) // this succeeds in finding the option element
.click('option[value="Three"]') // this fails to select option Three
All help most appreciated.