Selenium tests for Google maps
Solved. Not 100% elegant but it works. Set
optimized : false on the markers. This makes them all appear on the map (docs). Then set the XPath selector in the Selenium test to
'//div[@class="gmnoprint" and @title], this will select all the markers. You can then interact with the markers.
See also this Google groups posting.
- You must login to post comments