Open Bug 1886512 Opened 1 year ago Updated 26 days ago

[meta] Support "emulation.setGeolocationOverride" command

Categories

(Remote Protocol :: WebDriver BiDi, task)

task

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

(Depends on 3 open bugs, Blocks 2 open bugs, )

Details

(Keywords: meta)

This is a P2 requirement for puppeteer, and currently blocks at least 1 test from the puppeteer test suite.
The specification work has not started, and the discussion is happening over at https://github.com/w3c/webdriver-bidi/issues/343

The corresponding puppeteer API is Page.setGeolocation and accepts a geolocationOptions argument to set accuracy (optional), latitude and longitude.

The goal is to add a new command to emulate geolocation, but it's not clear yet what should be the exact behavior and in which module this command should be created.

Note, this is one of the features which is being patched manually by Playwright (juggler) at https://github.com/microsoft/playwright/blob/main/browser_patches/firefox/patches/bootstrap.diff

No longer depends on: 1886511

I assume this should have been created as a meta given that it blocks the WebDriver BiDi meta bug. We can update the summary once the module and command name is clear.

Keywords: meta
Summary: Implement webdriver bidi command to emulate geolocation → [meta] Support command to emulate geolocation

Note that this is something we'd like to have in DevTools too (see Bug 1069882 and Bug 1299950)

See Also: → 1069882, 1299950
Depends on: 1951962
Depends on: 1954992
Summary: [meta] Support command to emulate geolocation → [meta] Support "emulation.setGeolocationOverride" command
Depends on: 1963604
Depends on: 1964063
Depends on: 1998732
You need to log in before you can comment on or make changes to this bug.