I had this same problem, and the problem is deeper than it seems. I had
an element and I had to determine if it was visible or not, but
sometimes the element was NOT visible, even when it didn't have
display: none or visibility: hidden. Turns out a parent DIV a few
levels up *was* hidden, and
Hi David, Can you post this to the user contributions wiki page? http://wiki.openqa.org/display/WTR/ContributionsThis is a good example of how to inject additional functionality into Watir.
-CharleyOn 8/23/06, David Schmidt [EMAIL PROTECTED] wrote:
I had this same problem, and the problem is
On 8/23/06, Charley Baker [EMAIL PROTECTED] wrote:
Hi David,
Can you post this to the user contributions wiki page?
http://wiki.openqa.org/display/WTR/Contributions
This is a good example of how to inject additional functionality into Watir.
-Charley
+1. Very nice work.
-Chris
Done: http://wiki.openqa.org/pages/viewpage.action?pageId=1119
The wiki editing isn't exactly obvious, and it kept complaining about
the page title I used. Feel free to pretty it up if you like, but
there's an example of extending Watir up there now.
David
Charley Baker wrote:
Hi David,
What do you mean by hidden? It has display: none? Please post your not hidden and hidden checkbox html.Ċ½eljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Is there an easy way to determine if a control (a checkbox
in my case) is hidden?
I have a checkbox that exists in a TD that (through
several wrapped divs) ends up being hidden sometimes. Is there an easy way to
determine this?
Ive tried:
if $ie.hidden(:id, control id)
and