Listbox with Watir

Is there a class or method for controlling listboxes in Watir? I tried
using the regular select_list methods and that works so long as you’re
only selecting one item from the list. I, however, need to select
multiple items at the same time, which is why I’m using a listbox, but
I can’t find anything in the Watir API reference that would allow me to
do this. Thank you in advance :wink:

Chris wrote:

Is there a class or method for controlling listboxes in Watir? I tried
using the regular select_list methods and that works so long as you’re
only selecting one item from the list. I, however, need to select
multiple items at the same time, which is why I’m using a listbox, but
I can’t find anything in the Watir API reference that would allow me to
do this. Thank you in advance :wink:

The API docs indicate that select_list object’s select() and
select_value() methods will accept an array of string or regex values. I
haven’t tried it myself, though.

Mully