Currently, I am utilizing Protractor and am faced with the challenge of handling a pop-up from Chrome. My goal is to successfully click on the button labeled "Open magnet URI". For a visual representation of the issue, refer to the following image: picture of pop-up
Once the button is clicked, an external program launches.
I have experimented with the code browser.switchTo().alert().accept();
Despite my efforts, I continually encounter the error message "no such alert".
If anyone has a solution or suggestions, please do share. Your assistance is greatly appreciated.