Placing an embedded google map marker with Selenium

Posted by Isaac on Stack Overflow See other posts from Stack Overflow or by Isaac
Published on 2010-04-06T23:27:45Z Indexed on 2010/04/06 23:33 UTC
Read the original article Hit count: 249

I have an asp.net website which as part of a wizard uses an embedded google map to select a location by clicking on the map to place a marker. How do I automate this with Selenium?

In particular I've tried:

  • ClickAt
  • DoubleClickAt
  • MouseDownAt
  • MouseUpAt

In all cases passing the map div id as the locator and "100,100" as the coordinate.

I don't care where on the map the marker is placed, as long as I can place that marker.

© Stack Overflow or respective owner

Related posts about selenium

Related posts about google-maps