Open Gelbpunkt opened 6 years ago
I can reproduce it too, the images are all blank and the source is the same...
However running directly google-chrome --proxy-server="socks5://127.0.0.1:9050" --disable-gpu --headless --screenshot https://google.com
produces a correct image output. Is it a lib or a Chromedriver issue?
To help me reproduce this, could you please tell me what proxy software you're using?
We're using Tor / Torsocks
Also, does it work in non-headless mode behind a proxy?
Yep, removing either proxy or headless works fine.
As @Diniboy1123 said, using the chrome CLI works fine and produces the result that is expected.
Using google.com: https://cdn.discordapp.com/attachments/466937541552111616/479158940215672833/screenshot.png
This code always returns
<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body></body></html>
and screenshots are completely white.However, it works without the proxy option. When we tried switching to Firefox we got this:
Any idea how to fix this? Chrome is v 68 (latest)