Seeking assistance on how to resolve a specific error encountered in the Chrome browser while using Protractor. https://i.stack.imgur.com/7Fm4l.png
The error message reads as follows: "UnexpectedAlertOpenError: unexpected alert open: {Alert text : There are unsaved data, please save before you leave, otherwise your changes get lost!}". Despite attempting "browser.switchTo().alert().accept();", the issue persists, although it functions correctly in Firefox. Any guidance or suggestions would be highly appreciated.