codeceptjs / codeceptjs/CodeceptJS
JavaScript prompt (window-based alert with input) auto-closes in CodeceptJS with Playwright + BDD — how to handle it?
未关闭
stale
- 主要语言
- JavaScript
- 星标
- 4.2k
- 派生
- 757
- 平均合并
- 2 天 9 小时
- 30 天内合并 PR
- 16
描述
I'm trying to handle a JavaScript prompt (window-based alert with input) dialog and input some text before accepting it. But the prompt seems to be automatically closing before I can interact with it, and the test just moves to the next step.
Any idea how to handle this properly or prevent it from being auto-dismissed? Example code or tips would be really helpful. Thanks!
im using Codeceptjs with playwright helper and BDD
贡献指南
评估
这个 Issue 还没有评估数据。