Forum Discussion

LC's avatar
Occasional Contributor
2 years ago

Issue handling Alert in Headless mode

I am having issues recognizing an alert window in Headless mode during my web testing. Here is the alert on my page:

When running not in headless mode I can interact with the Alert with either:

But both of these fail when running headless, I am seeing these errors: 




Nothing I have tried so far has allowed me to interact with the alert window in headless mode so I would appreciate any ideas, thank you.

7 Replies