关注
码龄
粉丝数
原力等级 --
被采纳
被点赞
采纳率
Zina_zq
2022-07-04 11:27
采纳率: 66.7%
浏览 2.1k
首页
编程语言
已结题
python+selenium报错AttributeError: 'WebDriver' object has no attribute 'find_element_by_id'
python
selenium
代码如下
报错如下信息
“WebDriver”对象没有属性“find_element_by_id”,但是不知道如何解决
写回答
好问题
提建议
追加酬金
关注问题
微信扫一扫
点击复制链接
分享
邀请回答
3
条回答
默认
最新
相关推荐
更多相似问题
python
+
selenium
报错
AttributeError
:
'
WebDriver
'
object
has
no
attribute
'
find
_
element
_
by
_
id
'
python
selenium
2022-07-04 11:27
回答 3
已采纳
driver.
find
_
element
(
By
.
ID
, 'kw').sendkeys('搜索')
运行
Python
自动化测试脚本过程中出现“
AttributeError
:
'
WebDriver
'
object
has
no
attribute
'maxmize_windows'”的
报错
python
selenium
2021-07-27 16:18
回答 1
已采纳
maxmize 还是maximize 少了个i?
AttributeError
:
'
WebDriver
'
object
has
no
attribute
'_timeout'问题如何解决
python
selenium
有问必答
2021-09-26 17:03
回答 1
已采纳
wait
Object
那条不需要,如果是想等页面元素加载完,可以用: driver.implicitly_wait(30)
使用
python
的
selenium
库,
报错
AttributeError
:
‘
WebDriver
‘
object
has
no
attribute
‘
find
_
element
_
by
_xpath‘
2022-07-11 14:26
图书馆学毕业的小锦鲤的博客
使用
python
的
selenium
库,
报错
AttributeError
:
'
WebDriver
'
object
has
no
attribute
'
find
_
element
_
by
_xpath'
python
+
selenium
运行
报错
‘
webdriver
’
object
has
no
attributre ‘
find
_
element
_
by
_
id
‘
2022-07-07 14:35
Tin_Hunder的博客
python
+
selenium
运行
报错
没有解决我的问题,
去提问