An open API service indexing awesome lists of open source software.

https://github.com/im-ahmed-hasan/selenium-cdp-geolocation-spoof

🌍 Use Selenium 4 and Chrome DevTools Protocol (CDP) to simulate browser geolocation for testing location-aware web applications.
https://github.com/im-ahmed-hasan/selenium-cdp-geolocation-spoof

devtools-protocol geolocation java qa qa-automation qaautomation sdet selenium selenium-java selenium-webdriver test-automation testing-tools

Last synced: about 1 month ago
JSON representation

🌍 Use Selenium 4 and Chrome DevTools Protocol (CDP) to simulate browser geolocation for testing location-aware web applications.

Awesome Lists containing this project

README

          

# 📍 Selenium CDP Geolocation: Kamalganj(Sylhet Region), Bangladesh

Simulate geolocation in Chrome using CDP with Selenium 4.35.0.
This project spoofs the browser to think it's in **Kamalganj(Sylhet Region), Bangladesh**.

---

## 🌐 What It Does

- Launches Chrome using Selenium 4
- Uses Chrome DevTools Protocol (CDP)
- Fakes the location to Dhaka
- Opens `https://www.google.com/maps` to verify

---

## 🚀 Run Instructions

### 1. Clone the project

```bash
git clone https://github.com/im-ahmed-hasan/selenium-cdp-geolocation-spoof
cd selenium-cdp-geolocation-spoof