Closed bambinorest1 closed 1 month ago
Yes! It works pretty similar
var devtoolsTargetTask = browser.WaitForTargetAsync(t => t.Type == TargetType.Other);
await browser.NewPageAsync();
var devtoolsTarget = await devtoolsTargetTask;
await using var page = await devtoolsTarget.AsPageAsync();
Is it possible to handle a CDP target of type "other" as a page? In puppeteer js i saw one, but i didn't find in this library. Here url to this method. https://pptr.dev/api/puppeteer.target.aspage