Cucumber and Browser Geolocation

Several days ago I’ve started writing an application with browser geolocation support. The main problem encountered has been that of testing user interaction with the geolocation service. It is not possible to interact with browser geolocation so you need a way to mock the geolocation api in test environment. I’ve found, this old but still interesting, post wich resolve my problem.

Leave a Reply

Please Login to comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.