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]
> <javascript:>> 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] <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.