is there anyway to make a mouse move hover the element or so?
i talked on freenode, and it was said to me the hover functions only
worked on firefox running over windows. and i've tried this, but not
always work.
so i've tried "driver.find_elements(:xpath, "//
div[@class='cardThumb']")[0].hover" before the click action, but
sometimes works, depends on how much the elements stay hovered.
Patrick
--
We provide FREE website monitoring and load testing
http://browsermob.com
Patrick Lightbody
Founder, BrowserMob
+1 (503) 828-9003 x 101
2010/2/23 ponto <hugoand...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
> To post to this group, send email to selenium-...@googlegroups.com.
> To unsubscribe from this group, send email to selenium-develo...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/selenium-developers?hl=en.
>
>
JavascriptLibrary js = new JavascriptLibrary();
WebElement element = driver.findBy(...);
js.callEmbeddedSelenium(driver, "doFireEvent", element, "hover");
Let me know how that works for you.
Patrick
--
We provide FREE website monitoring and load testing
http://browsermob.com
Patrick Lightbody
Founder, BrowserMob
+1 (503) 828-9003 x 101
and for reference the throwing line is:
InputStream raw = getClass().getResourceAsStream(script);
> >>> 2010/2/23 ponto <hugoandrego...@gmail.com>:
> >>>> i was trying selenium2, and the execution of
> >>>> "driver.find_element(:class, 'cardItemRegister').click" fails with the
> >>>> following message "Selenium::WebDriver::Error::WebDriverError: Element
> >>>> is not currently visible and so may not be clicked", so i tried many
> >>>> things to make a mouse hover the element (that's when he is visible)
> >>>> such as "driver.find_element(:class, 'cardItemRegister').hover" which
> >>>> returns me "Selenium::WebDriver::Error::WebDriverError: Internal
> >>>> error: {"lineNumber":332,"message":"Component returned failure code:
> >>>> 0x80004001 (NS_ERROR_NOT_IMPLEMENTED)
> >>>> [nsINativeEvents.mouseMove]","name":"NS_ERROR_NOT_IMPLEMENTED"}".
>
> >>>> is there anyway to make a mouse move hover the element or so?
>
> >>>> i talked on freenode, and it was said to me the hover functions only
> >>>> worked on firefox running over windows. and i've tried this, but not
> >>>> always work.
> >>>> so i've tried "driver.find_elements(:xpath, "//
> >>>> div[@class='cardThumb']")[0].hover" before the click action, but
> >>>> sometimes works, depends on how much the elements stay hovered.
>
> >>>> --
> >>>> You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
> >>>> To post to this group, send email to selenium-...@googlegroups.com.
> >>>> To unsubscribe from this group, send email to selenium-develo...@googlegroups.com.
> >>>> For more options, visit this group athttp://groups.google.com/group/selenium-developers?hl=en.
>
> >>> --
> >>> You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
> >>> To post to this group, send email to selenium-...@googlegroups.com.
> >>> To unsubscribe from this group, send email to selenium-develo...@googlegroups.com.
> >>> For more options, visit this group athttp://groups.google.com/group/selenium-developers?hl=en.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
> >> To post to this group, send email to selenium-...@googlegroups.com.
> >> To unsubscribe from this group, send email to selenium-develo...@googlegroups.com.
> >> For more options, visit this group athttp://groups.google.com/group/selenium-developers?hl=en.
Thanks, Chris.
--jonm
Simon
(While we are on the subject of releases, it would be super cool if
these patches were included before the next one. Otherwise any one
who wants to use the maven artifacts will have to redo the release
themselves .)