https://pixabay.com/static/uploads/photo/2015/09/19/17/02/map-947471_960_720.jpg

Mocking HTML5 API's Using PhantomJS Extensions

By Ryan Glover

Recently one of our projects called for using the browser’s Geolocation API. We were excited about this project. However, we had an immediate concern about how to test a feature that interacts with one of the browser’s built in APIs.