Is there any documentation about the hover method? i just went looking (its
pretty exciting for me) and i could not find it in the docs

On Wed, Jan 18, 2012 at 5:17 PM, Chuck van der Linden <[email protected]>wrote:

> I would use a developer tool to backtrace the CSS rules for that
> element.  The style could be coming from CSS rules.  That is
> especially common for stuff that is displayed or hidden according to
> mouse hover where that is controlled via a CSS psuedoclass
>
> If that is the case, there was a .hover method recently added to watir-
> webdriver in an attempt to address this, try firing that against the
> method first, then see if you can click it.
>
> On Jan 17, 1:09 pm, Abe Heward <[email protected]> wrote:
> > On a page I'm testing, I have a div that Firebug shows like this:
> >
> > <div id="joinrequestbuttons_widget" style="">
> >
> > That div is a parent of a number of buttons that are displayed or hidden
> > depending on circumstance.
> >
> > When I have watir-webdriver show me the HTML of that div, however, this
> is
> > what it returns:
> >
> > <div id="joinrequestbuttons_widget" style="*display: none;*">
> >
> > This is not good, because it means that all children of that div are seen
> > as hidden, when they're actually not. I need to be able to click those
> > buttons.
> >
> > Does the style="" need to be explicitly made into style="display: block;"
> > for watir-webdriver to handle it correctly?
>
> --
> 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]<http://groups.google.com/group/watir-general%[email protected]>
>

-- 
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