geolocation
option for newContext
on the Browser
class doesn't seem to override the real geolocation
#435
Labels
bug
Something isn't working
Tested against: dbede12
I've created a simple go app which returns an html page which allows geolocation:
When the button is clicked to "Try it", i'm expecting the result to look like this when i use the
geolocation
option:But what actually happens is that it timeouts waiting for the location to be calculated. When running against google maps, it should use the override values, but it instead uses the real location values.
Here's the test script:
NOTE: In the code below it works against
localhost:8080
, which is a test server. It can be found in the following link along with Instructions on how to run it locally: https://github.com/grafana/xk6-browser/tree/temp/testserver/testserver.The text was updated successfully, but these errors were encountered: