How to disable the close confirm alert for closing a tab
Question: How do I disable the close confirm alert appearing while closing a tab
Solution: Please be aware of the usability implications of disabling the alert. It is not a good practice to disable the confirmation alert.
The confirmation alert helps the user to avoid accidentally closing the tab while entering the information.
However if you still would like to disable the alert, you can drag the section in your harness rule. This will disable the client side check validation. Please note that this would close the confirm alerts for all the use cases.