Open feniksbot opened 3 years ago
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.
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?
what steps do you need to follow from this resource? https://chromedevtools.github.io/devtools-protocol/ how to install via composer?