Skip to content

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

License

Notifications You must be signed in to change notification settings

im-ahmed-hasan/selenium-cdp-geolocation-spoof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ 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

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages