I've a page and I want to fill the login/password fields and autoclick "Sign-In" submit button. I've mentioned all the details in here.
The page is using AngularJS.
It does not work since the login/password fields are not detected. I've tried many ways including Using page's angular JS in chrome extension
For example. I've tried this code( and many others like Trigger a keypress/keydown/keyup event in JS/jQuery? ) but none is able to make the page detect the autofilled login and password:
$("#loginEmailMobile").val(user_selections.freecharge_details.login).trigger('input').keydown().keyup();
$("input#clientpassword").val(user_selections.freecharge_details.password).trigger('input').keydown().keyup();
Another crude way is to block the the AngularJs library from the background page and try to make it work. But this too does not work.
How can I make the form autofill for this page?