Puts the main-world state hook into a page before its scripts run (ADR-0007): registered for every
new document from the page's creation on, again on each fresh CDP session, and run at once in the
current document (the hook is idempotent). Posted, never awaited: the page has not navigated yet.
Puts the main-world state hook into a page before its scripts run (ADR-0007): registered for every new document from the page's creation on, again on each fresh CDP session, and run at once in the current document (the hook is idempotent). Posted, never awaited: the page has not navigated yet.