mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-17 17:38:10 +00:00
cdp: create a cdp state for target_auto_attach
This commit is contained in:
@@ -54,6 +54,9 @@ pub fn CDPT(comptime TypeProvider: type) type {
|
||||
// The active browser
|
||||
browser: Browser,
|
||||
|
||||
// when true, any target creation must be attached.
|
||||
target_auto_attach: bool = false,
|
||||
|
||||
target_id_gen: TargetIdGen = .{},
|
||||
session_id_gen: SessionIdGen = .{},
|
||||
browser_context_id_gen: BrowserContextIdGen = .{},
|
||||
|
||||
Reference in New Issue
Block a user