Implement Page.reload’s scriptToEvaluateOnLoad parameter
Categories
(Remote Protocol :: CDP, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: ato, Unassigned)
References
()
Details
Bug 1544445 introduced the the Page.reload
method
and bug 1549708 adds support for its ignoreCache
parameter.
This bug covers the final argument, scriptToEvaluateOnLoad
.
Described in the CDP API:
scriptToEvaluateOnLoad
(optional, string)
If set, the script will be injected into all frames of the inspected page after reload.
Argument will be ignored if reloading dataURL origin.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 1•5 years ago
|
||
I didn’t look too closely, but there may be some inspiration to take from
https://searchfox.org/mozilla-central/source/devtools/server/actors/addon/webextension-inspected-window.js#137
Comment 2•4 years ago
|
||
We don't even support executing scripts on normal loads. So bug 1601695 should be fixed first.
Assignee | ||
Updated•4 years ago
|
Updated•2 years ago
|
Comment 3•1 year ago
|
||
Bootstrap script implementation works already with WebDriver BiDi. We are not going to get this added to CDP.
Description
•