w3c / webdriver-bidi

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

Allow recording of browser profiles #640

Open whimboo opened 5 months ago

whimboo commented 5 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