codeceptjs / codeceptjs/CodeceptJS
JavaScript prompt (window-based alert with input) auto-closes in CodeceptJS with Playwright + BDD — how to handle it?
Đang mở
stale
- Ngôn ngữ chính
- JavaScript
- Star
- 4.2k
- Fork
- 757
- Merge trung bình
- 2 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 16
Mô tả
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
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.