Can you elaborate on what is not working?

I get the same behaviour in 6.14 and 6.16 when running the below script - 
ie `browser.select_list.select` does not select anything.

gem 'watir', '=6.14'
require 'watir'

browser = Watir::Browser.new
browser.goto 'test_page.html'

browser.select_list.select('b')
p browser.select_list.selected_options.map(&:text)
#=> ["b"]

browser.select_list.select
p browser.select_list.selected_options.map(&:text)
#=> ["b"]

Thanks,
Justin


On Wednesday, December 19, 2018 at 5:45:43 AM UTC-5, [email protected] 
wrote:
>
> hi Titus,
>
> b.select_list().select is not working in 6.16 but it's working 6.14. 
>
> So I have written 
>
> `b.select_list().option.select` and it's working fine. So it's a clear bug 
> in WATIR 6.16
>

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to