[meta] Support Browsertime
Categories
(Remote Protocol :: CDP, task)
Tracking
(Not tracked)
People
(Reporter: whimboo, Unassigned)
References
()
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•6 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•6 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•6 years ago
|
||
The related issue in browsertime is https://github.com/sitespeedio/browsertime/issues/1170.
Updated•3 years ago
|
| Reporter | ||
Comment 4•2 years ago
|
||
This bug actually covered the support for Browsertime via the CDP protocol. Given that we want to switch to WebDriver BiDi I'm closing this bug as done. Bug 1830875 will cover the remaining work for WebDriver BiDi.
Description
•