Closing chrome is hard
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try something similar to the CloseAllNotepads example here:
Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @loricotton -
I would suggest - Sys.browser.BrowserWindow.Close()
This is what I use - let me know if you have questions.
Emma
