Ask a Question

Want to run existing non headless scripts in headless Chrome

Susan_123
New Contributor

Want to run existing non headless scripts in headless Chrome

Hi All,

In my current project we want to migrate our scripts of normal web browser to run in headless chrome . Using the sample code for headless, I was able to navigate to a URL but after that we are getting object does not exist error (the same scripts work well in normal web browser).Anyone faced this issue while running scripts in headless mode. Any idea why this is happening?

Additional details : Test Complete Version used :15.0.379 ; Chrome Version 107

3 REPLIES 3
rraghvani
Valued Contributor

As mentioned in previous posts, TC supports the following Supported Browsers.

Chrome 107 could be relating to your issue

Hi,

Thanks for your response. Actually i tried to run in headless chrome using https://smartbear.com/product/testcomplete/ site with the same chrome version(107) at that point i was able to achieve it. But the issue still persists with our application.

Also one observation , I was able to run the script if i kept the chrome open with the site in background..is this a expected behaviour in headless mode?

rraghvani
Valued Contributor
cancel
Showing results for 
Search instead for 
Did you mean: