0

I'm trying to write end-to-end browser tests using webdriver (Laravel Dusk) for a case using drag and drop of a google maps marker.

The documentation is straight forward about doing this given a CSS selector to the marker icon, but I can't figure out how to add a selector to a marker. This question and this question provided great answers for manipulating the marker inside the canvas, but nothing for external references.

Jeff Puckett
  • 37,464
  • 17
  • 118
  • 167
  • You can manage the google marker's only with google maps api .. these include also feature for drag an drop .. – ScaisEdge Sep 18 '17 at 19:25
  • @scaisEdge thank you, yes I know how to make a marker `draggable` and listen for the events - this is how my app works. However, I need a way to be able to automate unit tests so that I don't have to manually test this each cycle. – Jeff Puckett Sep 18 '17 at 19:38
  • Were you able to attach ids to your markers as per the 2 links you mentioned? – syciphj Sep 29 '17 at 07:08

0 Answers0