selenium+protractor automated test, when the attachment is uploaded, the pop-up box for the selected file uploaded by the attachment is opened, but there is no way to close the system pop-up box. How to solve this problem?
var path = require("path");
var absolutePath = path.resolve("C:\filename.txt");
element(by.css("input[type="file"]")).sendKeys(absolutePath);