Expand description
Chrome DevTools Protocol adapter. No server starts implicitly.
Re-exports§
pub use ferroui_inspect as inspect;
Structs§
- Browser
- UI-thread target registry and flattened CDP session router, shared by the native server and browser bridge. Window and popup discovery follows the desktop application lifetime.
- CdpSession
- A transport-independent CDP connection to a single top-level. All calls run on its UI thread.
handlereturns the response followed by any events; callpollfor asynchronous events. - DevTools
Server - An explicitly started localhost listener. Keep the handle on the UI thread for the lifetime of the endpoint. Dropping it stops the listener, closes clients and removes highlights/logging. The UI thread does work only for the requests of clients: each is posted to its dispatcher.