在Selenium IDE中存储windows.performance值

在Selenium IDE中存储windows.performance值,selenium,dom,performance-testing,selenium-ide,Selenium,Dom,Performance Testing,Selenium Ide,这是一个轻微的重复 然而,这篇文章中的答案似乎不起作用(或者不再起作用),可能是因为Selenium IDE中的storeEval命令似乎不再存在 当Selenium IDE在网页中移动时,我正在尝试检索网页的某些windows.performance值 我试过: Command 'open' > Target 'www.url.com' Command 'store value' > Target window.performance.timing['navigationStart

这是一个轻微的重复

然而,这篇文章中的答案似乎不起作用(或者不再起作用),可能是因为Selenium IDE中的storeEval命令似乎不再存在

当Selenium IDE在网页中移动时,我正在尝试检索网页的某些windows.performance值

我试过:

Command 'open' > Target 'www.url.com'
Command 'store value' > Target window.performance.timing['navigationStart'] > Value 'result'
Command 'echo' > Target ${result}
但我得到:

Warning implicit locators are deprecated, please change the locator to id=window.performance.timing['navigationStart']
上述方法不起作用,因为它显然不是一个id

我使用了错误的命令吗?或者必须输入其他目标详细信息?还是完全可以做到


谢谢

改用执行脚本:

 Command            Target                                                   Value
 open               http://www.example.com/
 execute script     return window.performance.timing['navigationStart']     result
 echo               ${result}