Selenium webdriver 如何知道量角器中的哪个元素过时?

Selenium webdriver 如何知道量角器中的哪个元素过时?,selenium-webdriver,protractor,webdriver,Selenium Webdriver,Protractor,Webdriver,我想知道如何打印出量角器所抱怨的元素。我理解为什么元素会过时,但量角器/WebDriver可以提供更多信息。是否存在调试/信息模式 Message: Failed: stale element reference: element is not attached to the page document (Session info: chrome=80.0.3987.163) (Driver info: chromedriver=80.0.3987.16 (3

我想知道如何打印出量角器所抱怨的元素。我理解为什么元素会过时,但量角器/WebDriver可以提供更多信息。是否存在调试/信息模式

  Message:
    Failed: stale element reference: element is not attached to the page document
      (Session info: chrome=80.0.3987.163)
      (Driver info: chromedriver=80.0.3987.16 (320f6526c1632ad4f205ebce69b99a062ed78647-refs/branch-heads/3987@{#185}),platform=Mac OS X 10.15.4 x86_64)
  Stack:
    StaleElementReferenceError: stale element reference: element is not attached to the page document
      (Session info: chrome=80.0.3987.163)
      (Driver info: chromedriver=80.0.3987.16 (320f6526c1632ad4f205ebce69b99a062ed78647-refs/branch-heads/3987@{#185}),platform=Mac OS X 10.15.4 x86_64)

(长堆栈跟踪省略)

可能实际上是量角器github页面上的功能请求,也可能实际上是量角器github页面上的功能请求