BrowserContextBrowserContext.targetsVersion: NextOn this pageBrowserContext.targets() method Gets all active targets inside this browser context. Signature class BrowserContext { abstract targets(): Target[];} Returns: Target[] Remarks With CDP, this includes "tab" targets and targets with a subtype, such as prerendered pages.