[wtr-general] watir visible? returns false for visible element if parent is hidden

2013-02-18 Thread Andras Fuge
Hi, I've faced a problem for what I still haven't found a good solution. Watir's visible? method iterates up the DOM element tree and checks if any of the parent elements has visibility attribute set to hidden. If any of the parents is hidden then visible? returns false and that's it. In case

Re: [wtr-general] watir visible? returns false for visible element if parent is hidden

2013-02-18 Thread Željko Filipin
On Mon, Feb 18, 2013 at 1:06 AM, Andras Fuge andras.f...@gmail.com wrote: Is it a feature in Watir and I shall live with it or is there a nice workaround here? This is the same answer that I would give: I assume you are using watir-classic? Given that it seems to work properly in

Re: [wtr-general] watir visible? returns false for visible element if parent is hidden

2013-02-18 Thread Andras Fuge
Thanks Zeljko for the reply! Now after two of you developers advise the same I've opened this issue: https://github.com/watir/watir-classic/issues/52 Andras 2013. február 18., hétfő 12:51:29 UTC+1 időpontban Željko Filipin a következőt írta: On Mon, Feb 18, 2013 at 1:06 AM, Andras Fuge