webdriverio/webdriverio

[🐛 Bug]: <Can not get network intercepting to work with GQL operations with WDIO 9>

开放

#14,654 创建于 2025年7月21日

 (2 条评论) (0 个反应) (0 位负责人)JavaScript (1,793 个派生)batch import
Bug 🐛help wanted

仓库指标

星标
 (6,029 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Have you read the Contributing Guidelines on issues?

WebdriverIO Version

9

Node.js Version

18.20.1

Mode

Standalone Mode

Which capabilities are you using?

What happened?

Did anyone actually make the API mocking work for GQL operations against live environment? I tried for quite some time but never got it to work but this works in Playwright like a breeze. We value live environment UI automation and had setup with WDIO 7 and since upgraded to version 9 all things broke.

If you got it to work or if you have suggestions for what to use please share some ideas. Much appreciated!

What is your expected behavior?

No response

How to reproduce the bug.

GQL response mocking does not work

Relevant log output

NA

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

贡献者指南