How can I fake my geolocation coordinates in Chrome?
I know that this can be done manually using Chrome developer tools as explained here: https://developers.google.com/web/tools/chrome-devtools/device-mode/device-input-and-sensors
However, I need a code solution, preferably JavaScript or Python.
When the code is run, Google Maps and other geolocation sites should display fake location.