会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ls0202
我只想赚钱
博客园
首页
新随笔
联系
订阅
管理
2019年7月11日
selenium学习之class_name定位失败报错selenium.common.exceptions.InvalidSelectorException: Message: invalid selector: Compound class names not permitted
摘要: 测试页面如下: 一开始使用class_name定位,写法如下: find_element_by_class_name("ant-btn _3o7CMlVHUAzysWAWeJtZ15 ant-btn-primary") 运行后报错如下: 网上查过后原因是class_name中有空格,而且class属
阅读全文
posted @ 2019-07-11 16:23 ls0202
阅读(3186)
评论(0)
推荐(0)
编辑
公告