Solved Problems About Phantomjs
该解决方案已经在Ubuntu中验证成功!
For me, this was a firewall issue. Phantom requires an open port to connect. If the port is blocked by a firewall, you’ll get WebDriverException("Can not connect to GhostDriver").
To fix:
Open a port.
sudo iptables -A INPUT -s 127.0.0.1 -p tcp --dport 65000 -j ACC...