在使用Selenium 进行抓取网页的时候,对网页中 按钮或者超链接 进行点击的时候,往往会遇到下列问题:
Traceback (most recent call last):
File "F:/Python_work/PyReview/jnta.py", line 24, in <module>
WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.PARTIAL_LINK_TEXT, u'下一页'))).click()
File "E:\Python3\lib\site-packages\selenium\webdriver\remote\webelement.py", line 77, in click
self._execute(Command.CLICK_ELEMENT)
File "E:\Python3\lib\site-packages\selenium\webdriver\remote\webelement.py", line 493, in _execute
return self._parent.execute(command, params)
File "E:\Python3\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 256, in execute
self.error_handler.check_response(response)
File "E:\Python3\lib\site-packages\selenium\webdriver\remote\errorhandler.p