I am trying to make my own password autofill extension but I am stuck on how password managers somehow change all inputs on any site equally. Some sites that I try and change the input on directly using elem.value= "password" the input values reset when trying to click the login button. I've also tried using custom events and react props to change the value but those haven't worked either. The value in the input seems to change but won't work when the sign-in button is clicked. For reference, I have been testing on the Netflix sign-in page.