becky_z 发表于 2017-2-23 20:48:15

selenium 对应动态刷新dom

各位大大,自动化时发现下图这种情况下会报错图1和图2中因为不同的诊断情况带出的联系电话不同
这个问题困扰了两天了,求大神看看:handshake

org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
(Session info: chrome=43.0.2357.134)
(Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a1396067),platform=Windows NT 6.1 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 50 milliseconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html


梦想家 发表于 2017-5-9 17:32:50

:)

Real_小T 发表于 2017-5-9 17:42:26

我怎么记得这问题以前提过
页: [1]
查看完整版本: selenium 对应动态刷新dom