1. 程式人生 > >selenium WebDriver提示Unable to find a matching set of capabilities解決方法

selenium WebDriver提示Unable to find a matching set of capabilities解決方法

com arm community 並且 可用 fire drive cap win64

問題出在:應該將火狐瀏覽器驅動添加到火狐瀏覽器安裝目錄下,並且將火狐瀏覽器安裝目錄放在path下面。(出現大意,忘了在火狐瀏覽器下放其對應的驅動)

親測以下組合方式可用: pycharm-community-2017.3.4.exe geckodriver-v0.20.0-win64
Python 3.6.5
selenium3.11.0
Firefox 56.0 (64 位) 註意:使用pycharm工具,如果更新了上面的安裝文件,運行代碼仍然報錯,不要著急,重啟pycharm,應該就好了。

selenium WebDriver提示Unable to find a matching set of capabilities解決方法