Skip to main content

A simple class that can be used to fake Selenium Browser Geolocation

Project description


A simple class that can be used to fake Selenium Browser Geolocation

Getting Started

Its very easy to get started with using fakerlocationer. A simple example is shown in or you can see it below:

''' from fakerlocationer import FakerLocationer from selenium import webdriver

driver = webdriver.Chrome() driver.get("") f = FakerLocationer(driver) f.setLocation(50, 50) '''python

The only drawbacks of fakerlocationer are that in order for the geolocation to change the page must be fully loaded, and if the page refreshes/changes it'll reset the geolocation


Pretty much only need Selenium and Python 3


Can be installed by using pip:

''' pip3 install fakerlocationer '''

Or just by literally downloading and importing it into your project

Built With


See also the list of contributors who participated in this project.


This project is licensed under the MIT License - see the file for details


  • To Selenium for making the web testing suite :)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fakerlocationer-1.0.tar.gz (2.0 kB view hashes)

Uploaded source

Built Distribution

fakerlocationer-1.0-py3-none-any.whl (2.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page