Skip to content

V1.0.0

Latest

Choose a tag to compare

@vrknetha vrknetha released this 05 Dec 11:22
· 4 commits to main since this release

What's Changed

The initial release of playwright-geolocation-mock, comprehensive geolocation mocking utility for Playwright testing.

New Features

  • GeoMocker class for mocking geolocation in Playwright tests
  • 35+ predefined locations including major cities and landmarks
  • Support for custom locations with latitude/longitude
  • Configurable accuracy levels (high, low, default)
  • Watch position simulation
  • Error simulation capabilities

Dependencies

  • Requires Node.js >=20
  • Playwright ^1.40.0 as a peer dependency

Documentation

  • Comprehensive README with usage examples
  • TypeScript types included
  • API documentation with all available methods
  • Example test cases demonstrating usage

Contributors

@vrknetha - Initial implementation and documentation