Hello community,
Did anyone know how to handle Microsoft Edge login popup.
Thanks
Hello community,
Did anyone know how to handle Microsoft Edge login popup.
Thanks
Thanks Peterngtr for your answer.
No it doesn’t work for Edge, actually it work only for chrome and Firefox.
Finally I fixed it using autoIt and javascript,
here is how it looks now :
code in file login.au3
WinWaitActive(“Sécurité Windows”)
Send($CmdLine[1])
Send(“{TAB}”)
Send($CmdLine[2])
Send(“{ENTER}”)
my steps_file.js
module.exports = function() {
return actor({
loginEdge: function(login, password) {
this.amOnPage(url);
var exec = require(‘child_process’).exec, child;
child = exec('“C:/Program Files (x86)/AutoIt3/AutoIt3.exe” ./conf/login.au3 ‘+login+’ '+password,function (error) {
if (error !== null) {
console.log('exec error: ’ + error);
}
});
});
}