still no resolution! get the following error using this code:-
def select_redemption_option
puts(self.redemptionList?)
@browser.element(:css, "span.dropdown_btn").click
redemptionList_element.when_present.select 'Single'
puts(self.redemptionList)
end
timed out after 5 seconds, waiting for {:tag_name=>"select",
:id=>"redeumption"} to become present (Watir::Wait::TimeoutError)
I can see the test running, the drop down is clicked and the options
display.
On Friday, September 21, 2012 6:30:01 PM UTC+10, Željko Filipin wrote:
>
> On Fri, Sep 21, 2012 at 4:03 AM, Barry Horgan
> <[email protected]<javascript:>>
> wrote:
> > redemptionList_element.select 'Single'
> > throws the following error:
> > 'Element is not currently visible and so may not be interacted with
> (Selenium::WebDriver::Error::ElementNotVisibleError)'
>
> Looks like the element is not visible.
>
> Does this work?
>
> redemptionList_element.when_present.select 'Single'
>
> Ž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]