webdriver 报错:Element is not clickable at point (993, 61). Other element would receive the click
2016-08-29 21:13
441 查看
一个月以前利用python写爬虫,爬去微博的数据,以前还好好地,放假回家就没有跑程序,今天回来一跑程序,竟然 webdriver 报错:Element is not clickable at point (993, 61). Other element would receive the click。打开网页源代码查找发现了问题,微博优化了界面,以前的定位元素不起作用了。
以前用self.browser.find_element_by_link_text(“帐号登录”).click()来定位,出现了重复性的问题,将其转化为self.browser.find_element_by_css_selector(“.tab_bar>a”).click()进行精准定位,这样才解决了登录问题。爬虫这个东西就是要和反爬虫不断做斗争。
以前用self.browser.find_element_by_link_text(“帐号登录”).click()来定位,出现了重复性的问题,将其转化为self.browser.find_element_by_css_selector(“.tab_bar>a”).click()进行精准定位,这样才解决了登录问题。爬虫这个东西就是要和反爬虫不断做斗争。
相关文章推荐
- webdriver 报错:Element is not clickable at point (993, 61). Other element would receive the click
- 解决Selenium报错:Element is not clickable at point (x, y). Other element would receive the click
- Element is not clickable at point (1108, 190). Other element would receive the click
- Selenium 错误 Element is not clickable at point (x, y). Other element would receive the click
- selenium webdriver:"Element is not clickable at point"
- unknown error: Element is not clickable at point (996, 513). Other element would re
- 做点击操作时的错误WebDriverException: unknown error: Element is not clickable at point (958, 207).
- Firefox上运行自动化测试脚本提示元素无法点击“WebDriverException: Message: Element is not clickable at point“解决方法
- 解决chromedriver无法click element的问题:Element is not clickable at point (326, 792.5)
- Element is not clickable at point error in chrome
- 25、Selenium + Python 实现 UI 自动化测试-unknown error: Element is not clickable at point (x,y)
- selenium报错“Element is not clickable at point”及解决方法
- python定位元素 报错 unknown error: Element is not clickable at point (1147, 395)
- Selenium定位元素提示Element is not clickable at point 第一篇
- 解决Selenium报错“Element is not clickable at point...”的四种方法
- Webdriver如何解决页面元素过期:org.openqa.selenium.StaleElementReferenceException: Element not found in the cache - perhaps the page has changed since it was looked up
- 奇怪的内存泄露 incorrect decrement of the reference count of an object that is not owned at this point by
- 解决webdriver(Element not found in the cache - perhaps the page has changed since it was looked up )
- Incorrect decrement of the reference count of an object that is not owned at this point by the calle
- Incorrect decrement of the reference count of an object that is not owned at this point by the caller1