Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to start using? #30

Open
feniksbot opened this issue Nov 29, 2020 · 2 comments
Open

how to start using? #30

feniksbot opened this issue Nov 29, 2020 · 2 comments

Comments

@feniksbot
Copy link

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

@alexongh
Copy link

alexongh commented Dec 5, 2020

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.

@feniksbot
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants