Browser Session
A browser session. This is the root session created when initially connecting to the browser's debugger.
The root browser session doesn't have a session ID.
Properties
The Browser domain defines methods and events for browser managing.
A domain for letting clients substitute browser's network layer with client code.
Security
The SystemInfo domain defines methods and events for querying low-level system information.
Supports additional targets discovery and allows to attach to them.
The Tethering domain defines methods and events for browser port binding.
Functions
Creates a new ChildSession attached to the target with the given targetId. The new session shares the same underlying web socket connection as this BrowserSession.
Closes the underlying web socket connection, effectively closing every session based on the same web socket connection.
Creates a new page and attaches to it, then returns the new child PageSession. The underlying web socket connection of this BrowserSession is reused for the new child PageSession.
Gives access to all domains of the protocol, regardless of the type of this session.
Performs the given operation in this session and closes the web socket connection.