kevin_kapell
8 years agoFrequent Contributor
Solved
Why do I get an error message when closing a tab
I use the following function to close a browser page tab in IE 11. The tab is closed but I get an error in the log that the tab was not closed. Any ideas why and how I can avoid the error? func...
- 8 years ago
Ryan,
I like your solution and I think I can use elements of it for other things.
However, my co-worker came up with the following that worked.
function CloseTab(URL)
{
var browser = Sys.Browser("*");
var page = browser.Page("*");
Sys.Browser().Page(URL).Keys("^w")}