WebDriverException:缺少“类型"参数 [英] WebDriverException : Missing 'type' parameter
本文介绍了WebDriverException:缺少“类型"参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在python中使用Selenium Webdriver.我的设置的环境条件是-
I am using Selenium Webdriver in python. The environment condition of my setup are -
python 2.7.12
硒3.4.2
Firefox 52.0.2
Geckodriver v.0.13.0
在运行python脚本时,以下代码行给出了错误
python 2.7.12
selenium 3.4.2
Firefox 52.0.2
Geckodriver v.0.13.0
on running python script following line of code is giving error
self.driver.implicitly_wait(30)
错误消息是WebDriverException:缺少类型"参数.
在这种情况下有人可以帮助我吗?
Error message is WebDriverException : Missing 'type' parameter.
Can anyone help me in this situation ?
推荐答案
对于Firefox,请使用以下设置:
For Firefox use the following setup:
- Firefox版本:54
- 硒版本:3.4.3
- Python版本:2.7.13
- Geckodriver:v0.17.0
- 下载链接: https://github.com/mozilla/geckodriver/releases
- Firefox version: 54
- Selenium Version: 3.4.3
- Python Version: 2.7.13
- Geckodriver: v0.17.0
- Download Link: https://github.com/mozilla/geckodriver/releases
这篇关于WebDriverException:缺少“类型"参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文