On Tue, Sep 25, 2012 at 1:30 PM, Adrian Killens <[email protected]>
wrote:
> <select name="hello" size="1">
> <option value="C">X Large</option>
> How would I select from this dropdown using the value C?

browser.select(name="hello").select_value("C")

More information:

http://rdoc.info/gems/watir-webdriver/Watir/Select#select_value-instance_method
http://rdoc.info/gems/watir-classic/Watir/SelectList#select_value-instance_method

Željko
--
filipin.eu

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