手动点击这个元素可以进去,xpath也的确找到了这个元素,但是点击不了。请问怎么办
self.web.implicitly_wait(10)
上传=self.web.find_element_by_xpath('//div[@class="nav_wrap clear"]/div[@class="nav_right"]/div[@class="nav_function_btn"]/a')
上传.click()
返回错误:
selenium.common.exceptions.WebDriverException: Message: unknown error: Element <a class="sc_btn" href="https://www.docin.com/app/docin_upload/index" title="...">我要上传</a> is not clickable at point (968, 154). Other element would receive the click: <div id="dialogBoxShadow" style="position:fixed;left:0;top:0;right:0;bottom:0;background-color:#000;filter:alpha(opacity=40);opacity:0.4;z-index:102;"></div>
(Session info: chrome=94.0.4606.54)
(Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 10.0.19042 x86_64)
请问怎么解决这个问题