Hi Raj,

I think we still need more details on how to reproduce the problem.

I do not see anything obviously wrong from the logs. As well, given the 
page:

<select id="salutation">
  <option>Any</option>
  <option>Mr</option>
</select>

Selection is working:

@b.select_list(id: "salutation").select 'Mr'
p @b.select_list(id: "salutation").selected_options.map(&:text)
#=> ["Mr"]

It would help if you can create an isolated example that reproduces the 
issue.

Thanks,
Justin


On Thursday, December 20, 2018 at 11:52:23 PM UTC-5, rajagopalan madasami 
wrote:
>
> Hi Titus, I have given the details in my last mail. Can you look into that 
> ?
>
> On Wed 19 Dec, 2018, 9:43 PM Titus Fortner <[email protected] 
> <javascript:> wrote:
>
>> Our specs are all passing, so you need to provide a reproducible issue
>> so we can add the use case to our test suite.
>>
>> On Wed, Dec 19, 2018 at 8:50 AM Justin Ko <[email protected] 
>> <javascript:>> wrote:
>> >
>> > 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] <javascript:>
>> > http://groups.google.com/group/watir-general
>> > [email protected] <javascript:>
>> > ---
>> > 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] <javascript:>.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> -- 
>> -- 
>> 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] <javascript:>
>> http://groups.google.com/group/watir-general
>> [email protected] <javascript:>
>> --- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- 
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