I am trying to clear the web messaging window in case a user closes the browser/tab. I tried calling the command om beforeunload event for the page but its not getting executed. Please suggest
Genesys("command", "MessagingService.clearConversation").