On Tue, Oct 30, 2012 at 5:34 PM, Joe Fleck <[email protected]> wrote:
> "Included Patients (5659)"
> "   Adherent (5118)"
> "   Non-Adherent (541)"
> "Excluded Patients (48)"

So there are three leading spaces for the second and the third option.

Any of these should work:

browser.option(:text => "   Adherent (5118)").select
browser.option(:text => /Adherent (5118)/).select
browser.option(:text => /Adherent/).select

Željko

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to