That commit ( https://github.com/watir/watir-webdriver/commit/f9414dd76439fe95e175c81419db9b1376e54488 ) was made after the most recent release, you'd have to pull from github at https://github.com/watir/watir-webdriver and build locally. Or wait for the next release which would include this commit. pay careful attention to the cases listed where it won't work.
I expect you'll see it in the rdoc once a new release is out (or if you build locally) On Jan 18, 2:45 pm, bis <[email protected]> wrote: > 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 readhttp://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%0Awatir-general+unsubscr...> -- 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]
