Ask a Question

Closing chrome is hard

SOLVED
loricotton
Contributor

Closing chrome is hard

I have so many option to try and close chrome.

The SYS.WaitBrowser().close  will cause an error as it goes one time to many

The Sys.WaitBrowser("chrome").close()  works the best but get the error message "Chrome is working in the background which causes a yellow on the log.

The Sys.WaitBroswer.Terminate("chrome) works but the next time chrome is open login screens do not work as they should.

 

Why can't a simple .close  work?

Why can't we get a number of windows that are open?

I have spent way to many hours with every option and can not get it to work with a green status

 

2 REPLIES 2
Marsha_R
Champion Level 3

ebarbera
Staff

Hello @loricotton - 

 

I would suggest - Sys.browser.BrowserWindow.Close()

 

This is what I use - let me know if you have questions.

 

Emma

cancel
Showing results for 
Search instead for 
Did you mean: