腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(1066)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
StaleElementReferenceException
我在官方文档中读过关于的文章,但我仍然不明白为什么我的代码会引发这种异常?browser.get()是否实例化了一个新的蜘蛛? name = 'indiegogo' start_urls = [ 'https://www.indiegogo.com/explore/all?project_type=all&project_timing=all&sort=trending
浏览 0
修改于2018-07-05
得票数 1
回答已采纳
1
回答
geb
StaleElementReferenceException
为什么可以在查找元素时获得
StaleElementReferenceException
?指向相关文档或geb源代码的指针也会很有用。
浏览 1
提问于2012-09-01
得票数 2
回答已采纳
2
回答
硒:
StaleElementReferenceException
我研究这个错误已经有一段时间了,我尝试过很多事情,但似乎没有什么效果. //elements = driver.findElements(By.xpath("//a[@class='name']"));
浏览 5
提问于2016-03-08
得票数 1
回答已采纳
2
回答
硒
StaleElementReferenceException
嗨,我是Selenium的新手我在运行一个循环。有趣的是,循环有时工作3,2次,但在同一次迭代中并不总是失败。我认为这与某种竞争条件有关(比如等待页面加载)。如果我在调试模式下运行,它似乎工作得很好。这是一个循环。WebElement searchResults =
浏览 2
修改于2017-01-23
得票数 1
1
回答
Python:随机
StaleElementReferenceException
代码将
StaleElementReferenceException
抛出到任意的执行点,同时在其他代码中返回良好的数据(但从未完全完成) raise exception_class(message, screen, stacktrace) selenium.common.exceptions.
StaleElementReferenceException
浏览 0
提问于2018-08-26
得票数 1
回答已采纳
1
回答
StaleElementReferenceException
单击标记
EC.element_to_be_clickable(By.NAME, 'link2'))except
StaleElementReferenceException
浏览 7
修改于2022-10-24
得票数 1
1
回答
InternetExplorerDriver
StaleElementReferenceException
.pollingEvery(1, TimeUnit.SECONDS) .ignoring(
StaleElementReferenceException
.class出现了一个
StaleElementReferenceException
。有趣的是,这个异常只出现在Windows7 IE9上,而不是Windows IE8上。
浏览 1
提问于2012-01-25
得票数 1
1
回答
Python Selenium -
StaleElementReferenceException
scrape(12)我得到了网页12上数据的正确结果,但我没有得到网页14上的结果,而是得到了以下错误消息: selenium.common.exceptions.
StaleElementReferenceException
浏览 1
提问于2016-12-09
得票数 0
2
回答
Selenium Python
StaleElementReferenceException
我试图用Selenium Python和Chrome浏览器下载一个网页上的所有pdf文件,但每次会话结束时都会显示以下消息:
StaleElementReferenceException
: stale
浏览 9
提问于2016-09-17
得票数 2
回答已采纳
1
回答
staleElementReferenceException
in ExpectedConditions -->elementToBeClickable
只是想知道,是否存在
StaleElementReferenceException
在检查函数的源代码,
StaleElementReferenceException
在catch中并返回null。
浏览 1
修改于2014-01-06
得票数 2
4
回答
硒与
StaleElementReferenceException
此时,当我尝试访问该按钮(在页面上可见)时,我得到一个
staleElementReferenceException
。 一旦更改,Selenium会自动重新加载DOM吗?我对selenium还是个新手。
浏览 1
提问于2018-03-21
得票数 0
1
回答
Selenium抛出
StaleElementReferenceException
但是,当我添加文件命名和导出片段测试项目时,在第二次迭代开始时,就在生成文件之后抛出了
StaleElementReferenceException
。
浏览 15
修改于2020-10-19
得票数 0
2
回答
Python Selenium
StaleElementReferenceException
in check_responseselenium.common.exceptions.
StaleElementReferenceException
浏览 1
提问于2018-04-05
得票数 2
2
回答
selenium ()提供
StaleElementReferenceException
开发人员将代码更改为使用onclick() DOM元素而不是url。所以,现在我需要一直重新加载页面,以防止它变得陈旧。我如何用一个find_elements_by_xpath来完成这个任务呢?我想是document.*.submit()需要DOM吧? driver.get(alarmurl) elems = driver.find_elements_by_xpath("//a[contains(text(),
浏览 4
修改于2017-11-27
得票数 0
1
回答
StaleElementReferenceException
selenium webdriver
我正在使用Selenium、Python和PhantomJS编写一个爬虫来使用谷歌的反向图像搜索。到目前为止,我已经成功地上传了一张图片,并在第一页上抓取搜索结果。但是,当我试图点击搜索结果导航时,我得到了一个StaleElementReferenceError。我在很多帖子中读到过这个问题,但我仍然无法实施解决方案。以下是破解的代码:ele5 = ele7.find_elements_by_class_name("fl") for elem in ele5
浏览 2
修改于2014-09-21
得票数 1
回答已采纳
11
回答
Selenium WebDriver
StaleElementReferenceException
运行测试时出现以下错误: org.openqa.selenium.
StaleElementReferenceException
:元素不再附加到DOM 有关于如何解决上述异常的想法吗?
浏览 0
修改于2015-07-31
得票数 26
回答已采纳
1
回答
selenium fire
StaleElementReferenceException
我的程序触发了一个
StaleElementReferenceException
。我认为这是因为我以递归方式爬行一个页面,当一个页面不再有链接时,该函数导航到下一个页面,而不是以前的父页面。https://robhammond.co/tools/seo-crawler&via=robhammond Exception in thread "main" org.openqa.selenium.
StaleElementReferenceException
浏览 1
修改于2021-06-11
得票数 0
1
回答
StaleElementReferenceException
Selenium Python
如果我再见到
StaleElementReferenceException
,我就会失去它。我妻子的男朋友在嘲笑我,请帮帮忙。 self.driver.refresh() self.element.is_e
浏览 13
修改于2021-04-04
得票数 3
回答已采纳
1
回答
硒中的
StaleElementReferenceException
我正面临着selenium中的陈旧元素错误。在google上搜索后,似乎必须重试单击事件以避免此错误。我正在使用selenium和python nosetest,很多测试用例已经写好了,我想知道是否有一些方法可以在不编辑测试用例的情况下处理这个错误。
浏览 3
修改于2015-09-11
得票数 0
2
回答
硒中的
StaleElementReferenceException
onclick,'OpenEditGeneralClassification();')]")).click(); } catch(org.openqa.selenium.
StaleElementReferenceException
浏览 0
修改于2015-07-13
得票数 0
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券