Screenshot: available via screen

在使用selenium+PhantomJS进行爬虫时候报错

selenium.common.exceptions.TimeoutException: Message: 
Screenshot: available via screen

在初始化driver时传入参数"service_args=['--ignore-ssl-errors=true','--ssl-protocol=TLSv1']"即可。

driver = webdriver.PhantomJS(service_args=['--ignore-ssl-errors=true', '--ssl-protocol=TLSv1'])
原文地址:https://www.cnblogs.com/vevy/p/9212976.html