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
Can the browser be shown while shot-scraper is working? #149
Comments
Are you talking about the default command that takes a screenshot or the Assuming you mean Current options: https://shot-scraper.datasette.io/en/stable/javascript.html#shot-scraper-javascript-help |
I meant the I was hoping this would be achievable by a certain flag, but if this would require development I would say this is not worth it. |
Hi @b-a0 - I may have misread your intent but I believe you can interact with the browser in the manner you wish if you make use of the It's intended to allow completion of login steps but it sounds like the kind of checking you're trying to do would be possible with it also, since it'll show the site in the browser as it appears for shot-scraper and you can then figure out adjustments "live", which you'd later re-use without the https://shot-scraper.datasette.io/en/stable/authentication.html |
It would help with debugging to see the browser window while shot-scraper is working, and perhaps keep it open when an error occurs (or a screenshot is taken).
This would make debugging easier as I could use the exact state that shot-scraper sees. I tried to achieve this by passing
--disable-headless-mode
as a browser argument, but that did not show the browser window.Is there another way of viewing the browser window?
I have seen the
--interactive
and--devtools
options for a single screenshot, but they activate the browser window before any javascript is run.The text was updated successfully, but these errors were encountered: