gpt4 book ai didi

javascript - 如何以编程方式清除 postman 的控制台

转载 作者:行者123 更新时间:2023-12-04 17:39:59 26 4
gpt4 key购买 nike

我正在尝试使用 postman 编写用于 api 测试的断言。为了调试,我使用了 console.log() 函数,它使 Postman 的控制台变得困惑。

我试过console.clear();在预请求脚本中但得到 TypeError。

postman 的错误:

enter image description here

我可以在 Postman 的预请求脚本或测试部分以编程方式清除控制台吗?

最佳答案

“我可以在 Postman 的预请求脚本或测试部分以编程方式清除控制台吗?”

还没有,但它在愿望 list 上......

https://github.com/postmanlabs/postman-app-support/issues/4690

关于javascript - 如何以编程方式清除 postman 的控制台,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54967711/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com