I am trying to write Chrome extension which allows me to login to Angular Application. Application is built in prod mode.
I fill up username and password input fields programmatically
document.getElementById('username').value = 'User Name';
document.getElementById('password').value = 'pass';
document.getElementById('submit').click();
But Submit button is inactive because validation isn't passed but validation isn't passed because Change Detection wasn't run too.
My question is how to run Change Detection of Angular App outside App?
