Based on my reading of the w3c spec, I think IEDriver doesn't need to do this. The fix in Watir is easy enough, though: https://github.com/watir/watir/commit/84ca128739c1729bf8d8f46f92ae8a7c0ebfab0d
It'll be in the next release. On Tuesday, August 28, 2018 at 11:02:58 AM UTC-7, rajagopalan madasami wrote: > > Thank you. > > On Tue 28 Aug, 2018, 11:31 PM Titus Fortner, <[email protected] > <javascript:>> wrote: > >> Interesting: >> https://github.com/SeleniumHQ/selenium/commit/406b8dab98ed7a06bbc35728fb2b061d068d9238 >> I'll dig into what this is supposed to be doing so I can figure out the >> fix. >> >> On Monday, August 27, 2018 at 9:40:02 PM UTC-7, rajagopalan madasami >> wrote: >>> >>> Beautiful, thanks. >>> >>> On Tue 28 Aug, 2018, 9:57 AM Lakshya Kapoor, <[email protected]> >>> wrote: >>> >>>> Yup, here is the source for Watir::Select#select: >>>> >>>> def select(*str_or_rx) >>>> results = str_or_rx.flatten.map { |v| select_by v} >>>> results.firstend >>>> >>>> >>>> >>>> On Monday, August 27, 2018 at 9:01:04 PM UTC-7, rajagopalan madasami >>>> wrote: >>>>> >>>>> Ah ! Is it returning the value? I haven't noticed it so far. Let me >>>>> verify. >>>>> >>>>> On Tue 28 Aug, 2018, 9:29 AM Lakshya Kapoor, <[email protected]> >>>>> wrote: >>>>> >>>>>> I have experienced the same in IE. The exception is raised when >>>>>> Watir::SelectList#select attempts to read the selected value and >>>>>> return it while the page is refreshing. My workaround was to use >>>>>> element.option(text: >>>>>> myvalue).select and then read the value separately through >>>>>> element.text. >>>>>> >>>>>> Should probably raise a bug report for this. >>>>>> >>>>>> -- >>>>>> -- >>>>>> 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. >>>>>> >>>>> -- >>>> -- >>>> 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. >>>> >>> -- >> -- >> 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.
