Some pages of a website I use recently switched to geolocating. This change caused the “Website wants to: Know your location” Chrome dialog. This causes the page to render incorrectly since the popup is not interacted with.
How can I tell WPT to always allow location?
I am using:
AMI: IE11/Chrome/Firefox/Safari (2014, wptdriver only) - ami-561cb13e.
Chrome: Version 47.0.2526.106 m
I attempted 2 fixes, and neither worked:
Manually confirm the dialog, but it reappears on next run.
“Allow all sites to track your physical location” in Chrome settings. This also did not stop the dialog from appearing.
I am running into this same issue just running tests on the public webpagetest.org. Is there a script or request that can be blocked to prevent this popup from coming up on mobile tests? It’s throwing the speed index metrics all out of whack because it’s recognizing the last frame as the visual completion of the page, which is the location dialog overlayed a grayed out page.
Ahh, thanks - looks like the prefs aren’t being populated on the physical devices, just the desktop browser. I’ll take a look and see if it can be done.