UserWarning: Selenium support for PhantomJS has been deprecated, please use headless versions of Chrome or Firefox instead
据说是 PhantomJS 被selenium抛弃了
解决方法:selenium降级并安装指定版本
卸载pip uninstall selenium
,安装并指定版本pip install selenium==2.48.0
未经允许不得转载:MR LYU » Selenium+PhantomJS使用时报错原因及解决方案