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
:) 我怎么记得这问题以前提过
页:
[1]