OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
chromium.chromium_devtools_client.ChromiumDevToolsClient Class Reference

Use Chromium's local DevTools endpoint for discovery and page commands. More...

Public Member Functions

dict[str, Any] system_info (self)
 Read graphics diagnostics from the browser target, without a WebGL probe.
dict[str, Any] command (self, DevToolsTarget target, str method, dict[str, Any]|None params=None)
 Send one Chrome DevTools Protocol command to a page target.
Iterator[ChromiumDevToolsSession] session (self, DevToolsTarget target)
 Retain a page connection until its geolocation owner stops.
dict[str, Any] command_earth (self, str method, dict[str, Any]|None params=None)
 Send one Chrome DevTools Protocol command to the Google Earth page.
None set_geolocation_override (self, float latitude, float longitude, *, float accuracy_m=5.0, float|None altitude_m=None, float|None altitude_accuracy_m=None, float|None heading_deg=None, float|None speed_m_s=None)
 Override browser geolocation for the running Google Earth page.
None clear_geolocation_override (self)
 Restore normal browser geolocation behavior for Google Earth.
dict[str, Any] geolocation_snapshot (self)
 Return the geolocation values currently visible to the Earth page.
Any evaluate (self, DevToolsTarget target, str expression, *, bool return_by_value=True)
 Evaluate JavaScript in a page target through the CDP WebSocket.
Any evaluate_earth (self, str expression, *, bool return_by_value=True)
 Evaluate JavaScript in the currently running Google Earth page.

Detailed Description

Use Chromium's local DevTools endpoint for discovery and page commands.


The documentation for this class was generated from the following file:
  • protocols/chromium/chromium_devtools_client.py