摘要:
1、先去pycharm官网下载一个dmg包,地址:https://www.jetbrains.com/pycharm/download/ 2、选中mac版的Professional专业版就行,下载完之后傻瓜式安装 3、打开软件,在License server address中填入http://xid 阅读全文
随笔档案-2020年05月
Selenium python+chrome/firefox报错Message: 'geckodriver' executable needs to be in PATH.
2020-05-07 09:43 by Tanwheey, 495 阅读, 收藏, 编辑
摘要:
>>> from selenium.webdriver import Firefox >>> driver = Firefox () 执行脚本报错: Traceback (most recent call last): File "/Users/xxx/Documents/selenium_py/i 阅读全文
Selenium python+chrome/firefox报错Message: Can not connect to the Service chromedriver
2020-05-06 19:27 by Tanwheey, 1289 阅读, 收藏, 编辑
摘要:
1、执行 >>> from selenium.webdriver import Chrome #添加path后执行 >>> driver = Chrome() 或>>> from selenium.webdriver import Chrome #驱动位置驱动 >>> Chrome(executab 阅读全文