webdriverio/webdriverio

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

Open

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

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)JavaScript (6,029 star) (1,793 fork)batch import
Bug 🐛help wanted

描述

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

贡献者指南