Answer the question
In order to leave comments, you need to log in
Chrome Headless how to bypass wrong domain?
There is a task to create a screenshot of the site. I use Chrome in Headless mode via the command line.
Faced such problems.
1. Unable to create delayed screenshot
2. When trying to access an inaccessible site. The process hangs and does not return control.
chromium-browser --headless --disable-gpu --screenshot --no-sandbox --window-size=640,480 https://asdfasdfasdfasdfsdf.com
Segmentation fault (core dumped)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question