[OpenLayers-Users] Re: selenium and openlayers
gmh04
gmh04 at netscape.net
Tue Apr 12 11:45:52 EDT 2011
> Does selenium.clickAt lead to mousedow and mouseup being fired?
It does but in the wrong order. A clickat produces
mousedown -> click -> mouseup
Whereas a mouse click does
mousedown -> mouseup -> click
Selenium has a mouseDownAt and mouseUpAt, but the following doesn't work:
selenium.mouseDownAt("map", "100,100");
selenium.mouseUpAt("map", "100,100");
selenium.click("map");
and
selenium.mouseDownAt("map", "100,100");
selenium.mouseUpAt("map", "100,100");
selenium.clickAt("map", "100,100");
produces
mousedown -> mouseup -> mousedown -> click -> mouseup
I'm stuck ...
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/selenium-and-openlayers-tp6253201p6265639.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list