有时,当我尝试单击一个按钮时,它被另一个元素覆盖,我得到一个selenium.common.exceptions.ElementClickInterceptedException。as c: 我假设两者都会抛出错误,因为我不是直接导入selenium,而是使用splinter:NameError: name 'ElementClickInterceptedException'is not defined 我的代码示例: if browser.is_element_present_by_css('
我一直想解析来自特定的信息,而且动态方面一直存在问题。当用BeautifulSoup等在python中调用此站点的请求时,< div id="root“>中的所有内容都不存在。根据这个类似问题的答案-- --我试着使用无头浏览器。最后,我尝试使用selenium和splinter,并为chrome启用了“--无头”选项。_container[index]
IndexError: list index out o