Skip to main content

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

Project description

FakerLocationer

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 usage.py or you can see it below:

from fakerlocationer import FakerLocationer
from selenium import webdriver

driver = webdriver.Chrome()
driver.get("http://www.mylocation.org")
f = FakerLocationer(driver)
f.setLocation(50, 50)
```python

The only two functions you can use with fakerlocationer 

### Prerequisites

Pretty much only need Selenium and Python 3

### Installing

Can be installed by using NPM:

'''
npm install fakerlocationer
'''

Or just by literally downloading fakerlocationer.py and importing it into your project

## Built With

* [Selenium](https://selenium.dev/documentation/en/webdriver/) - Selenium Framework

## Authors

* **kenevil1** - [kenevil1](https://github.com/kenevil1)

See also the list of [contributors](https://github.com/your/project/contributors) who participated in this project.

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

## Acknowledgments

* 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

fakerlocationer-0.1-py3-none-any.whl (2.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page