Issue handling Alert in Headless mode
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Labels:
-
Script Tests
-
Web Testing
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What version of TestComplete are you using and what browser and version are you using?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Duplicate reply
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using TestComplete 15.40.421 with Chrome and in headless using the ChromeDriver 102.0.5005.61
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What version is your Chrome?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right now Version 103.0.5060.114 but I was getting this same issue with 102.0.5005.*** Also have tried upgrading my chromedriver to 103.0.5060.53 but I am getting the same result when running the test.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right now, TestComplete only supports Chrome up to version 99.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I will try 99 out.
