社区
脚本语言
帖子详情
AttributeError: 'WebDriverWait' object has no attribute 'click',求帮忙查看原因
斑马线8
2018-04-17 09:56:01
请问有大神知道是什么原因吗?
...全文
1887
2
打赏
收藏
AttributeError: 'WebDriverWait' object has no attribute 'click',求帮忙查看原因
请问有大神知道是什么原因吗?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
2 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
斑马线8
2018-04-19
打赏
举报
回复
我用的是firefox浏览器,谷歌的好用点吗
半吊子Py全栈工程师
2018-04-17
打赏
举报
回复
19行哪里,那个属性没有找到吧?就不能点击了,你在这行前面加个延时,你用selenium,可以先用谷歌的驱动调试好
Attribute
Error
: 'WebElement'
object
has no
attribute
'send_keys'
这个是没问题的代码:用来打开谷歌搜索cheese并退出 from selenium import webdriver from selenium.common.exceptions import TimeoutException from selenium.webdriver.support.ui import
WebDriverWait
# available since 2.4...
Attribute
Error
: 'WebDriver'
object
has no
attribute
'switchTo'
不在错误中爆发,就在错误中死亡呀. from selenium import webdriver from selenium.webdriver.support.ui import
WebDriverWait
driver=webdriver.Firefox() waitdd =
WebDriverWait
(driver, 30); driver.get("http://www....
关于
Attribute
Error
: 'NoneType'
object
has no
attribute
'send_keys'
在学web自动化测试时,通过PO模型将特定页面的一些元素及元素操作放在特定页面模块中, 然后提取公共的部分, 如元素等待
WebDriverWait
, 元素操作send_keys,
click
, 获取元素文本信息, 获取属性值等, 放在公共的页面模块里, 即base_page.py, 但在实现过程中我的代码报了错: 想了很久都没发现错在哪里, 那种感觉真不好受... 昨夜西风凋碧...
python selenium 报错
Attribute
Error
: ‘WebDriver‘
object
has no
attribute
‘find_element_by_id‘
selenium 报错
python span标签的text属性,遍历硒python中的span元素,
Attribute
Error
:'list'对象没有属性'
click
'...
I want to loop through a list of span elements and make Selenium
click
all span elements available. Currently I'm getting an
Attribute
Error
: 'list'
object
has no
attribute
'
click
'. See code snippets b...
脚本语言
37,720
社区成员
34,239
社区内容
发帖
与我相关
我的任务
脚本语言
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
复制链接
扫一扫
分享
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
试试用AI创作助手写篇文章吧
+ 用AI写文章