pycharm中导入selenium:打开pycharm,Terminal下输入pip install selenium即可(如下图所示)
PS:
1.selenium官方参考文档地址:
https://selenium-python.readthedocs.io/getting-started.html
2.phantomjs官方参考文档地址:
https://phantomjs.org/api/command-line.html
3.phantomjs下载地址:https://bitbucket.org/ariya/phantomjs/downloads/