TestCafe 0.20.5 已发布,这是一个 bug 修复版本,包含以下更新内容:
- The
buttonsproperty was added to theMouseEventinstance (#2056) - Response headers were converted to lowercase (#2534)
- Updated flow definitions (#2053)
- An
AttributesWrapperinstance is now updated when the the element's property specifies thedisabledattribute (#2539) - TestCafe no longer hangs when it redirects from a tested page to the 'about:error' page with a hash (#2371)
- TestCafe now reports a warning for a mocked request if CORS validation failed (#2482)
- Prevented situations when a request logger tries to stringify a body that is not logged (#2555)
- The Selector API now reports
NaNinstead ofintegerwhen type validation fails (#2470) - Enabled
noImplicitAnyand disabledskipLibCheckin the Type compiler (#2497) - Pages with
rel=prefetchs no longer hang during test execution (#2528) - Fixed the
TypeError: this.res.setHeader is not a functionerror in Firefox (#2438) - The
formtargetattribute was overridden (testcafe-hammerhead/#1513) fetch.toString()now equalsfunction fetch() { [native code] }(testcafe-hammerhead/#1662)
TestCafe 是一个用于测试 Web 应用的纯 Node.js 端到端解决方案。它负责所有阶段:启动浏览器、运行测试、收集测试结果和生成报告。TestCafe 不需要浏览器插件,它在所有流行的现代浏览器开箱即用。
下载地址:
继续阅读与本文标签相同的文章
上一篇 :
python爬取微信公众号文章
-
将阿里云产品整合成为高校课程实训的训练营产品的实践(四)
2026-05-18栏目: 教程
-
中间人攻击,HTTPS也可以被碾压
2026-05-18栏目: 教程
-
什么叫做IaC,与DevOps有什么关系?如何实现?
2026-05-18栏目: 教程
-
解读《运维知识体系》,直面自动化运维的“灵魂八问”
2026-05-18栏目: 教程
-
阿里99大促 | 模型识别背后的样本生成
2026-05-18栏目: 教程
