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.
- Launches Chrome using Selenium 4
- Uses Chrome DevTools Protocol (CDP)
- Fakes the location to Dhaka
- Opens
https://www.google.com/maps
to verify
git clone https://github.com/im-ahmed-hasan/selenium-cdp-geolocation-spoof
cd selenium-cdp-geolocation-spoof