cancel
Showing results for 
Search instead for 
Did you mean: 

Chrome is working in the background and cannot be closed

SOLVED
whuang
Frequent Contributor

Chrome is working in the background and cannot be closed

Hi there,


I used Sys.Process("chrome").Close to close the chrome browser, for most of the time it works perfect, but sometimes I still got a warning in the log file, saying "Chrome is working in the background and cannot be closed.". I have already disable "Continue running background apps when Google Chrome is closed" under Chrome settings Advanced|System, it still happens every now and then. Is there anyway to prevent this from happening?

whuang_0-1605045582664.png


Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

Re: Chrome is working in the background and cannot be closed

Take a look at the function from @tristaanogre at the bottom of this thread.  It should help you out.

 

https://community.smartbear.com/t5/TestComplete-Functional-Web/TestComplete-does-not-appear-to-close...

View solution in original post

3 REPLIES 3
Marsha_R
Community Hero

Re: Chrome is working in the background and cannot be closed

Take a look at the function from @tristaanogre at the bottom of this thread.  It should help you out.

 

https://community.smartbear.com/t5/TestComplete-Functional-Web/TestComplete-does-not-appear-to-close...

View solution in original post

whuang
Frequent Contributor

Re: Chrome is working in the background and cannot be closed

Thanks, when I close the a browser should I use .Close() or .Terminate(). What is the difference between them?

Marsha_R
Community Hero
New Here?
Join us and watch the welcome video:
Top Kudoed Authors