2017年1月9日

'Service' object has no attribute 'process'

摘要: 在使用selenium+phantomjs时,运行总是出现错误信息: 出现该错误的原因是未能找到可执行程序"phantomjs",这时可以这样: 也可以通过重启pycharm来解决ORZ。 阅读全文

posted @ 2017-01-09 15:20 xzysaber 阅读(657) 评论(0) 推荐(0) 编辑

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

摘要: 在使用selenium+phantomjs的时候在Windows平台下能够正常工作,在Linux下却不能,并得到错误信息: 在ST上找到答案:http://stackoverflow.com/a/36159299/4447404 在初始化driver时传入参数"service_args=['--ig 阅读全文

posted @ 2017-01-09 15:13 xzysaber 阅读(11489) 评论(0) 推荐(0) 编辑

导航