The CDP transport of this page (for input and domain commands).
Send a setup command once per CDP session (e.g. Accessibility.enable, Network.enable): it stays
in effect until the session ends, and is sent again after a re-attach. Fire-and-forget.
Returns true when the command was sent now (the first time on this session).
Optionalparams: objectUndo the memory of an ensure (after the caller reverted the command's effect).
Optionalparams: objectInstall the agent in the page now and in every later document (fire-and-forget), without waiting for a first call: for features that must see the page from its start (recording).
Call any page agent operation (sync or async) and unwrap its result.
Refs of the page tree (or of root's subtree), in document order.
Optionalroot: {Run use with a remote object handle for each ref's element (for CDP calls that need a node,
like Accessibility.getPartialAXTree). Handles are fetched in batches and released afterwards.
Talks to the page agent of one page (top frame) through CDP:
Runtime.enableand registers the agent for every new document in its isolated world (runImmediatelycovers the current one);Runtimeevents;