puphpeteer icon indicating copy to clipboard operation
puphpeteer copied to clipboard

attach CDPSession to PHP process.

Open magic-thomas opened this issue 4 years ago • 1 comments

in nodejs

const cdp = await page.target().createCDPSession();

it makes to use dev tool in Node .

I'snt there way to do this with PHP ?

magic-thomas avatar Dec 24 '20 06:12 magic-thomas

Is this a bug report? Or a question about how to convert you JS code to PHP?

In case of the question, it's just like this:

$cdp = $page->target()->createCDPSession();

nesk avatar Dec 26 '20 15:12 nesk