Is there any browser (Chrome, Firefox) plugin that allows to simulate geo location?

前端 未结 3 464
耶瑟儿~
耶瑟儿~ 2021-01-13 15:24

I need to test web application that extensively uses geo location api (getCurrentPosition, watchPosition). Is there any browser (Chrome, Firefox) plugin that allows to simul

3条回答
  •  醉梦人生
    2021-01-13 16:01

    Chromium 52 has it in-built:

    1. Open developer console
    2. Click the : button on the right, select More tools -> Sensors
    3. In Tab "Sensors" you can modify the current location:

提交回复
热议问题