F
F
firstpasha2015-10-14 15:58:43
JavaScript
firstpasha, 2015-10-14 15:58:43

How to move marker on yandex maps using protractor?

Hello Amletics!
Can't move label with protractor's script, please share recipes.
What I try


...actions()
.mouseMove($('mapContainer'), relativePointPosition)
.mouseDown()
.mouseMove(offset)
.mouseUp()
.perform();

Or

...actions()
// In this case, the label is in the center of the map.
.dragAndDrop($('mouseContainer'), offset)
.perform();

And actions().click(); It works, but as I understand it, this method differs in implementation from mouesMove towards nativeness.
Perhaps you should use other approaches, for example, move the label through the maps API?
I would be grateful for any examples and advice.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question