question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG]geolocation is not working

See original GitHub issue

Describe the bug

  • I am trying to set geolocation, but, it always points to China even I change the different geolocation.

Here is my program.

          const context = await browser['chromium'].newContext({
            geolocation: { latitude: 35.60472, longitude:140.12333,accuracy :1},
              permissions: ['geolocation']
          });

Chrome version: 939194 Playwright: 1.17.2

Here is screen shot.

image

Do you have any suggestion for this?

regards,

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
msauscommented, Jan 22, 2022

@mxschmitt Finally, I found the issue. incognito mode dose not change the geolocation. So, I just click on update geolocation in the bottom. Thanks.

0reactions
msauscommented, Jan 20, 2022

@mxschmitt Well…I will try to use old chromium.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Geolocation is not working for me! - Fanball Customer Support
Geolocation is not working for me! · Turn on Location Services:Settings >> Location >> select “On” · Allow us to Collect Location Data:Opera...
Read more >
How To Fix Online Casino Geolocation Issues | Guide & Tips
Allow Geolocation in Chrome · Open Chrome on your laptop or PC · At the top right, click the hamburger menu icon. Chrome...
Read more >
Why IP Geolocation Can Go Wrong: Causes & Fixes
Find out why IP location may be incorrect, the general accuracy of IP geolocations, and what you can do to improve location data ......
Read more >
Services that rely on geolocation do not work - Bigleaf Networks
Description - A user accessing a website or application reports incorrect geolocation information. Indicators of this issue - Location...
Read more >
K12866: Troubleshooting IP geolocation database inaccuracies
Issue. The BIG-IP system uses an IP geolocation database to source data about the origin of an IP address. F5 releases the updates...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found