auto_fill_rules are not applied to outlook.office.com stay signed in page.
[[auto_fill_rules."https://*"]]
selector = "input[id=KmsiCheckboxField]"
action = "click"
[[auto_fill_rules."https://*"]]
selector = "input[id=idSIButton9]"
action = "click"
Workaround
Add this code to
~/.local/lib/python3.12/site-packages/openconnect_sso/browser/user.js
window.onload = function() {
setTimeout(function () {
var elem = document.querySelector('input[id=KmsiCheckboxField]'); if (elem) { elem.dispatchEvent(new Event("focus")); elem.click(); }
var elem1 = document.querySelector('input[id=idSIButton9]'); if (elem1) { elem1.dispatchEvent(new Event("focus")); elem1.click(); }
/*if (elem1){
alert(elem1);
} else{
alert('NOT FOUND');
}*/
}, 1000);
};
Might need timeout adjustment.
auto_fill_rulesare not applied tooutlook.office.comstay signed inpage.Workaround
Add this code to
~/.local/lib/python3.12/site-packages/openconnect_sso/browser/user.jsMight need timeout adjustment.