w3c / webdriver-bidi

Bidirectional WebDriver protocol for browser automation
https://w3c.github.io/webdriver-bidi/
378 stars 42 forks source link

Allow recording of browser profiles #640

Open whimboo opened 10 months ago

whimboo commented 10 months ago

In CDP there is a Profiler module which allows the recording of a browser profile.

It would be nice to have such a feature for BiDi as well, which would allow the recording and export of profiles. Given that the format between browsers will vary a lot we most likely won't be able to exactly define it, and adapters might be needed by clients to read and work with the data.

As an example of how such a profile for Firefox could look like here an export from a session recorded by the Firefox profiler: https://share.firefox.dev/3O42Umg

jgraham commented 2 months ago

I think this is the same as https://github.com/w3c/webdriver-bidi/issues/745 ? I appreciate this one is older, but there's more discussion in that one, and if they are the same maybe we should close it to avoid confusion