C# SetAttribute Value to ElementID isn't working? -


webbrowser1.document.getelementbyid("firstname").setattribute("value", firstname);   webbrowser1.document.getelementbyid("lastname").setattribute("value", lastname);   webbrowser1.document.getelementbyid("username").setattribute("value", email);   webbrowser1.document.getelementbyid("password").setattribute("value", "psu123");   webbrowser1.document.getelementbyid("passwordconfirmation").setattribute("value", "psu123"); 

everything filled except line: webbrowser1.document.getelementbyid("password").setattribute("value", "psu123");

language using c# inspect element link below. http://gyazo.com/964291abb825eac4ea8aae002d7ce382

how come filled except "password"

possible duplicate of webbrowser setattribute not working (password field)

as equalsk mentioned, ensure you're setting values in webbrowser documentcompleted event


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -