Go back in the browser history or attempts to close the browser tab if there
is no history.
Example
try { awaitsubmissionService.goBackOrCloseWindow() } catch (error) { // Handle error while closing browser tab. // Display message to user to close it manually }
Go back in the browser history or attempts to close the browser tab if there is no history.
Example