That doesn't seem to do it, I'm now getting:
timed out after 30 seconds, waiting for {:id=>"SeatSelectorDone",
:tag_name=>"a"} to become present (Watir::Wait::TimeoutError)
It exists and it's clickable via irb and manually. The entire page is
loaded etc..
The only thing I'm thinking that could be an issue is that I'm clicking a
button before hand that set in a div that's hosted on a different domain.
I'm wondering if this is confusing it?
On Wednesday, 17 October 2012 14:40:07 UTC+1, Adrian Killens wrote:
>
> Bit of a random one but I cannot click a link on a page within my test
> suite.
>
> I can click it fine using irb and running the test line by line and if I
> put in an if statement to check if the link "exists?" in the suite then it
> also appears to be there.
>
> But for some reason when I try to click it from the suite I get the
> following error:
>
> Element must be displayed to click
> (Selenium::WebDriver::Error::ElementNotVisibleError)
>
> Any ideas?
>
--
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]