chrome-devtools-protocol icon indicating copy to clipboard operation
chrome-devtools-protocol copied to clipboard

how to start using?

Open feniksbot opened this issue 4 years ago • 2 comments

what steps do you need to follow from this resource? https://chromedevtools.github.io/devtools-protocol/ how to install via composer?

feniksbot avatar Nov 29 '20 14:11 feniksbot

https://packagist.org/packages/jakubkulhan/chrome-devtools-protocol composer require jakubkulhan/chrome-devtools-protocol

There is very little documentation, you are basically on your on. Puppeteer also uses the Chrome DevTools Protocol so you might be able to build your solution with reference to the Puppeteer source code.

alexongh avatar Dec 05 '20 15:12 alexongh

thanks, it turned out to run the example pdf page.

but I don't understand how to call the rest of the methods. How do I get the entire page into a variable? tried all dom, didn't work. I don't understand what to specify in the second parameter. Can I have at least 1 example?

feniksbot avatar Dec 12 '20 15:12 feniksbot