I am having the following issue. The API changes for SelectList has
changed, and caused one of our scripts to fail.
Before 3.0 changed
<select name="xxx" size="1">
<option value="1" selected="selected">XXX</option>
<option value="2">YYY</option>
<option value="3">ZZZ</option>
</select>
> b.select_list(:name => 'xxx').value
XXX
After 3.0 changes
<select name="xxx" size="1">
<option value="1" selected="selected">XXX</option>
<option value="2">YYY</option>
<option value="3">ZZZ</option>
</select>
> b.select_list(:name => 'xxx').value
1
How can I get the value as if it were before the 3.0 changes?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]