请问知乎明明登录进去了,还提示定位不到,是没跳出循环吗?
来源:6-14 item loder方式提取question - 1
爬虫小白
2019-11-25
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {“method”:“css selector”,“selector”:".SignFlow-tabs div:nth-child(2)"}
(Session info: chrome=60.0.3112.78)
(Driver info: chromedriver=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f),platform=Windows NT 10.0.17763 x86_64)
知乎已经成功登录,但还提示没定位到“无密码登录”键(在知乎登录页面)。是否是没有跳出while循环。谢谢!
写回答
1回答
-
已经登录成功了 为什么还需要定位登录页面的元素呢?而且登录成功了就应该跳转到首页而没有登录页面信息了啊
022019-11-27
相似问题