I would like to make a screenshot of a website with something like
google-chrome --headless --screenshot https://www.google.com
But most of the websites today have this popping cookie consent notifications so the screenshot looks something like this:
Is there any way or command to disable this, like disabling javascript or something similar to get a propper picture of the website?
Found the command --blink-settings=scriptEnabled=false
that disable javascript both for chromium and chrome. For some websites this helps, but if they heavily depend on javascript, there is not much that gets screenshoted.