[error] isNewPageLoaded发现一个旧的pageLoadError:TypeError:无法访问死对象
IDE- 2.8.0&火狐:34.0
[warn] Stack是:BrowserBot.prototype._handleClosedSubFrame@chrome://selenium-ide/content/selenium-core/scripts/selenium-browserbot.js:1251:1 BrowserBot.prototype.getCurrentWindow@chrome:// selenium-ide / content / selenium-core / scripts / selenium-browserbot.js:1229:18 BrowserBot.prototype.pollForLoad@chrome://selenium-ide/content/selenium-core/scripts/selenium-browserbot.js:961 :38 BrowserBot.prototype.reschedulePoller/pollerFunction@chrome://selenium-ide/content/selenium-core/scripts/selenium-browserbot.js:1099:9 BrowserBot.prototype.runScheduledPollers@chrome:// selenium-ide / content /selenium-core/scripts/selenium-browserbot.js:1109:9 TestLoop.prototype.continueTestWhenConditionIsTrue@chrome://selenium-ide/content/selenium-core/scripts/selenium-executionloop.js:142:9 .continueTestWhenConditionIsTrue @ chrome://selenium-ide/content/selenium-runner.js:210:7 fnBind / retval @ chrome://selenium-ide/content/selenium-core/scripts/htmlutils.js:60:12 [error]无法访问死对象
请有人指导我摆脱这个错误。
答案 0 :(得分:1)
此问题是在FF 15及更高版本的版本中引入的,它不允许其附加组件在其父文档被销毁后保留对DOM对象的引用。但是在这种情况下你可以尝试两件事。
解决方案1 :尝试在浏览器中禁用不需要的加载项,然后重新运行Selenium IDE脚本。 解决方案2 :您录制的脚本没有任何问题,因此请尝试将您的FF版本降级为较旧版本(更好地尝试使用旧版本的FF 14或任何ESR版本,了解其旧版本,以防万一您只需尝试此步骤就可以轻松实现这一步。 或者您可以尝试使用here
中的ESR版本升级浏览器