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

Add support for the --dump-dom flag #65

Open
SartoRiccardo opened this issue May 11, 2022 · 1 comment
Open

Add support for the --dump-dom flag #65

SartoRiccardo opened this issue May 11, 2022 · 1 comment

Comments

@SartoRiccardo
Copy link

The --dump-dom flag would be very beneficial for processing as sometimes you need some other return values from chromium (e.g. pixel perfect coordinates of the generated images, something which javascript can do), by simply outputting them in an invisible element of the html page.
This could be done with that flag, however you would need to redirect stdout of the executed command to a file, which you can't do currently without tinkering with the module yourself.

@vgalin
Copy link
Owner

vgalin commented May 11, 2022

Thanks for making this suggestion, this is quite interesting.
Being able to redirect the browser's output is related to #55 and will be implemented at the same time.

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