I am trying to test my web application using selenium webdriver, but I am having trouble getting the mousemove
event to trigger with values other than 0
for movementX
or movementY
.
I have attempted to use
Class: Selenium::WebDriver::ActionBuilder
:
driver.action.move_to(element).move_by(1,1).perform()
I have also tried javascript hacks like this.
Are there any alternative methods to trigger an MouseEvent
of type mousemove
while ensuring that movementX
and movementY
are not set to zero?