发现BUG
本来正常运行的爬虫无缘无故地挂了,具体症状为启动
Python
失败报错,而启动
Firefox
顺利。原来是不小心把
PhthonJS
升级了。本地环境为
selenium
果断报错。
selenium==3.4.3 + Firefox==47.2
解决方案
处方:降级:
selenium
再次启动
pip install selenium==3.0.1
没毛病,药到病除。
Firefox/PhthonJS
本来正常运行的爬虫无缘无故地挂了,具体症状为启动
Python
失败报错,而启动
Firefox
顺利。原来是不小心把
PhthonJS
升级了。本地环境为
selenium
果断报错。
selenium==3.4.3 + Firefox==47.2
处方:降级:
selenium
再次启动
pip install selenium==3.0.1
没毛病,药到病除。
Firefox/PhthonJS