[wtr-general] Re: Fire event doesn't seem to work

2012-03-27 Thread Chuck van der Linden
nil would be correct, as that method has nothing it returns. What you would want to do when using that in irb is pay attention to the screen or firebug, to see that things you expect to see (such as perhaps menus being displayed due to a CSS psuedoclass triggered by the hover state with regard

[wtr-general] Re: Fire event doesn't seem to work

2012-03-27 Thread Litha K
Hi, Many thanks for replying to my query. I have upgraded to version 0.5.4, however when I do browser.link(:id, 'men).hover it returns nil. Any thoughts please? Thanks, Jay On Mar 27, 3:07 am, Chuck van der Linden wrote: > "Why not upgrade from your old 0.3.3 to the current version (0.5.4)

Re: [wtr-general] Re: Fire event doesn't seem to work

2012-03-26 Thread Oscar Rieken
why not use .hover? On Mon, Mar 26, 2012 at 2:19 PM, Litha K wrote: > Anyone? > > On Mar 25, 8:04 pm, Litha K wrote: > > Hi, > > > > I am using watir-webdriver 0.3.3 and trying to automate a scenario to > > mouse hover on a link to select sublinks. > > > > For example: if I go to: > > > > 1. ww

[wtr-general] Re: Fire event doesn't seem to work

2012-03-26 Thread Litha K
Anyone? On Mar 25, 8:04 pm, Litha K wrote: > Hi, > > I am using watir-webdriver 0.3.3 and trying to automate a scenario to > mouse hover on a link to select sublinks. > > For example: if I go to: > > 1. www,cocosa.com > 2. browser.link(:id, 'men').fire_event("onmouseover") > > It returns true, bu