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

Is it possible to get the puppeteer instance? #19

Open
good-idea opened this issue Jan 20, 2021 · 1 comment
Open

Is it possible to get the puppeteer instance? #19

good-idea opened this issue Jan 20, 2021 · 1 comment

Comments

@good-idea
Copy link

I'd like to be able to call await page.evaluate(() => { debugger }) so I can get a better idea of problems within the chromium devtools. But, I see that the puppeteer browser and page are created within the closure of generateImage(), and are not returned. Do you know of any way to tap into puppeteer's instances, maybe through some jsdom export?

If not, I have an idea of how to make this an option within this library without any breaking changes ~ let me know what you think and I'd be happy to make a PR.

@dferber90
Copy link
Owner

Hmm, I don't recall whether it's possible. It's been a while since I made this package and I'm not actively using it anymore.

Feel free to send a PR!

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