I'm at version 0.6.9 and found that this was always returning an empty string
$target.select(:id => id).selected_options[0].text
To actually get the inside text i had to change this to
$target.select(:id => id).selected_options[0].inner_html
Should 'text' be changed to return .inner_html instead of .text if the text or
label or attributes are missing?
---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-webdriver/issues/259_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development