<div class="submit">
<input type="submit" class="login-btn" value="立即登录">
<img src="/ps/static/passport/widget/login/login-form/assets/loading_dbf3776.gif">
</div>
使用find element by xpath('//input[@class="login-btn"]'.click())能定位到立即登录,但是却报错,无法执行click操作
selenium.common.exceptions.WebDriverException: Message: unknown error: Element <div class="submit">...</div> is not clickable at point (848, 422). Other element would receive the click: <li>...</li>
(Session info: chrome=59.0.3071.86)
(Driver info: chromedriver=2.30.477700 (0057494ad8732195794a7b32078424f92a5fce41),platform=Windows NT 6.1.7601 SP1 x86)
请问,这个该怎么解决
带你彻底掌握Scrapy,用Django+Elasticsearch搭建搜索引擎
了解课程