using 

redemptionList_element.select 'Single'

throws the following error:

'Element is not currently visible and so may not be interacted with 
(Selenium::WebDriver::Error::ElementNotVisibleError)'



I was hoping not to have to go the route of clicking on the selector and 
clicking on a specific value.

Works through Selenium IDE using 'select | id=redeumption | label=Single

(@driver.find_element(:id, "redeumption")).select_by(:text, "Single")




On Wednesday, September 19, 2012 8:58:38 PM UTC+10, Željko Filipin wrote:
>
> On Wed, Sep 19, 2012 at 8:02 AM, Barry Horgan 
> <[email protected]<javascript:>> 
> wrote:
> > no longer getting the error message but the value is not being selected, 
> it remains at the default value of 'Select'.
> > i am assuming that i do not need to click the actual drop down arrow to 
> make all options visible first, is this correct?
>
> That is usually not needed. Try this:
>
> redemptionList_element.select 'Single'
>
> Does that select the value?
>
> Ž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