[feat]: add `page.setExtraHTTPHeaders()`
Merged
SE
9mo ago+332+332+012345678901234567890123456789-0-0-0123456789
why
- to allow for setting HTTP headers at the page level
what changed
- added new function
page.setExtraHTTPHeaders(), which sets HTTP headers for the CDP session of the page, and all of its child sessions (eg, iframes)
Summary by cubic
Adds page.setExtraHTTPHeaders() to set per-page HTTP headers on all requests from the page and its iframes. Applies to pipeline sessions immediately and replays on newly adopted child sessions. Addresses ST LaurensG- NB: STG-1316.