无法找到与 selenium 3.4.3、firefox 54.0 和 gecko 驱动程序 0.17 匹配的一组功能 [英] Unable to find a matching set of capabilities with selenium 3.4.3, firefox 54.0 and gecko driver 0.17
本文介绍了无法找到与 selenium 3.4.3、firefox 54.0 和 gecko 驱动程序 0.17 匹配的一组功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
if __name__ == '__main__':
driver=webdriver.Firefox(executable_path=r'/home/saurabh/Saurabh/LearnPython/Automation/geckodriver');
运行上面的代码后,我收到一个错误:
After running the above code I am getting an error as :
selenium.common.exceptions.WebDriverException: Message: Unable to find a matching set of capabilities
推荐答案
确保您指向的是 path oFirefoxPortableAppFirefox64firefox.exe
而不仅仅是 path oFirefoxPortableFirefoxPortable.exe
Make sur you are pointing to path oFirefoxPortableAppFirefox64firefox.exe
and not just path oFirefoxPortableFirefoxPortable.exe
这篇关于无法找到与 selenium 3.4.3、firefox 54.0 和 gecko 驱动程序 0.17 匹配的一组功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文