You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Karate UI测试中back()方法执行耗时超30秒问题求助

Karate 1.4.1中back()浏览器导航方法耗时超30秒问题

在使用Karate 1.4.1版本进行浏览器导航测试时,执行back()方法发现耗时超过30秒,已在多个网站地址上复现该问题。

测试代码片段

Feature: Browser Navigation Methods

  Scenario: back(), forward()
    * configure driver = { type: 'chrome' }
    * driver 'https://the-internet.herokuapp.com/'
    * maximize()
    * print "title is:",driver.title
    * delay(2000)
    * driver 'https://www.saucedemo.com/'
    * print "title is:",driver.title
    * delay(2000)
    * back()
    * print "title is:",driver.title
    * delay(2000)
    * forward()
    * print "title is:",driver.title
    * delay(2000)

HTML报告截图

HTML报告截图

内容的提问来源于stack exchange,提问作者cyrilgeorge153

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.24 03:04:59