jkrolczy
6 years agoRegular Contributor
TC14.2 \ Chrome 77 close browser \ process issue
All,
I have a web-based framework that I had for a good while been executing my test scripts against Chrome 76 using TC14.1 into TC14.2. Then Chrome updated to 77.
The issue that I get c...
- 5 years ago
We've solved a similar problem with IE where sometimes the application stays memory resident. So, when we close the browser in script, we then use the following code to make sure that it's no longer memory resident. You might be able to adapt something similar for Chrome.
function closeIEInstance() { var counter = 0; var browser; browser = Sys.WaitBrowser('iexplore', 1000); while((browser.Exists) && (counter < 60)){ counter++; browser.Terminate(); browser = Sys.WaitBrowser('iexplore', 1000); } }