LC
3 years agoOccasional Contributor
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:
Aliases.browser.pageKruxmetrixHome.Keys("[Enter]");
or
NameMapping.Sys.browser.pageKruxmetrixHome.Alert.buttonOk.ClickButton();
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.