[meta] Support Browsertime
Categories
(Remote Protocol :: Agent, task)
Tracking
(Not tracked)
People
(Reporter: whimboo, Unassigned)
References
(Depends on 1 open bug, )
Details
(Keywords: meta)
As Maja and I have seen yesterday also browsertime makes use of the CDP protocol for certain features. And right now they have a webextension installed in Firefox to accomplish specific tasks.
We should add dependencies for each and everything which is needed. I hope that Peter can give us the full list of methods and events.
Comment 1•5 years ago
|
||
For Firefox we would like to use:
- Set request headers - Network.setExtraHTTPHeaders
- Set cookies - Network.setCookie
- Inject JS on the page on new document - Page.addScriptToEvaluateOnNewDocument
- Block domains - Network.setBlockedURLs
- Clear browser cache - Network.clearBrowserCache and Network.clearBrowserCookies
We use a couple of more for Chrome but they aren't super important:
- Tracing.start, Tracing.end and Tracing.tracingComplete
- Emulation.setCPUThrottlingRate (we prefer that users don't use that for Chrome but maybe it works better in Firefox?)
- Performance.getMetrics()
Reporter | ||
Comment 2•5 years ago
|
||
(In reply to Peter Hedenskog from comment #1)
For Firefox we would like to use:
- Set request headers - Network.setExtraHTTPHeaders
- Set cookies - Network.setCookie
- Inject JS on the page on new document - Page.addScriptToEvaluateOnNewDocument
- Clear browser cache - Network.clearBrowserCache and Network.clearBrowserCookies
I added related bugs for all of those commands to the dependency list.
- Block domains - Network.setBlockedURLs
This is experimental. Not sure if that will be implemented (yet).
We use a couple of more for Chrome but they aren't super important:
- Tracing.start, Tracing.end and Tracing.tracingComplete
- Emulation.setCPUThrottlingRate (we prefer that users don't use that for Chrome but maybe it works better in Firefox?)
- Performance.getMetrics()
None of those are implemented yet. And nothing is scheduled for those yet.
Reporter | ||
Comment 3•5 years ago
|
||
The related issue in browsertime is https://github.com/sitespeedio/browsertime/issues/1170.
Updated•2 years ago
|
Description
•