Moving the mouse with the Transporter

I am trying to move the mouse in Protractor eventually so that I can press the Flash button at a specific position. So I cannot use the element locator as it is Flash.

I've tried just moving the mouse with the following:

browser.actions().mouseMove({x: 50, y: 50}).perform();
browser.actions().mouseMove({x: 250, y: 250}).perform();

      

And I can't see the mouse moving at all in Chrome or Firefox. I am using Protractor version 2.1.0.

How do I make the mouse engine move in Protractor?

+3


source to share





All Articles