TestProject Forum
Powered by leading experts in the test automation community

Move mouse to random point using with protractor

Is it possible to move to a random point relative to another element with selenium/protractor ?

Around the lines of:

it('randomPoint', function() {
    var action = element(by.id('container'));
      .mouseMove(plot0, {x: 80, y: 45})
      .mouseMove({x: 0, y: 25})