【发布时间】:2017-11-03 23:45:11
【问题描述】:
在https://store.obeygiant.com/collections/prints/products/obey-ripped-signed-offset-poster 尝试网络抓取时,尝试按 id 甚至按名称单击按钮:
browser.find_by_id('AddToCartText').click()
browser.find_by_name('add').click()
但每次尝试都出现以下错误:
selenium.common.exceptions.WebDriverException: Message: unknown error: Element is not clickable at point (657, 724)
(Session info: chrome=61.0.3163.100)
(Driver info: chromedriver=2.29.461585 (0be2cd95f834e9ee7c46bcc7cf405b483f5ae83b),platform=Mac OS X 10.11.6 x86_64)
以相同的方式对其进行了测试,其他网站也确实有效。
可能是什么问题,什么是解决问题的好方法?
提前谢谢你,一定会投票并接受答案。
【问题讨论】:
标签: python selenium selenium-webdriver web-scraping splinter