Feature request: devtools: make geolocation emulation persistable / programmable
Reported by
pol...@gmail.com,
Apr 19 2017
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 Steps to reproduce the problem: 1. Use devtools/console/sensor drawer to set an emulated geolocation. 2. Shutdown browser, start up browser 3. Geolocation emulation set back to default What is the expected behavior? I know this is a feature request and not a bug. But for automated tests, it would be awesome to have a way to (1) persist geolocation emulation and/or (2) set it programmatically. What went wrong? Nothing :). This is just a feature request. Did this work before? No Chrome version: 60.0.3074.0 canary (64-bit) Channel: canary OS Version: OS X 10.11.6 Flash Version: Thank you for considering my feature request. Let me know if I can supply any additional data, need a tester, etc.
,
Apr 19 2017
We cannot enable goelocation emulation on DevTools startup silently, because you have no clear indication. Are you worried about losing the values you entered? We can persistthose, but require to click the checkbox on DevTools reopening. Would that be good enough for your usecases? As caseq@ mentioned, we do not consider using DevTools front-end for automation a reasonable scenario.
,
Apr 19 2017
caseq: you have a good point. I use selenium, and I completely forgot that it doesn't play well with devtools. dgozman: a checkbox for persistence would be wonderful. Could this be set per user profile? Because that would be triple wonderful. Thanks to both of you for your time.
,
Apr 19 2017
Sounds like checkbox + persisted values satisfies everyone. Over to luoe@.
,
Apr 21 2017
Thanks for the request and the great triage. There's an older existing request filed, so I'll merge this and edit the other bug to reflect the checkbox+persistence resolution. |
||||
►
Sign in to add a comment |
||||
Comment 1 by caseq@chromium.org
, Apr 19 2017Labels: Needs-Feedback OS-All
Owner: dgozman@chromium.org
Status: Assigned (was: Unconfirmed)