我如何允许 browser.pause? WDIO(wdio/无暂停)(插件:wdio/推荐)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
对我而言,这修复了browser.pause()的问题
for me this fixed the issue with browser.pause()
将以下代码添加到名为“.eslintrc.yml”的文件中。如果该文件不存在,则必须创建它。
它不允许您在使用异步函数时暂停。因此,您需要通过专门指定来添加此规则。
Add below code to the file named ".eslintrc.yml". If this file does not exist, then you must create it.
It doesn't allow you to pause when using an async function. For this reason, you need to add this rule by specifying it specifically.