When I type in a text input box without pressing enter, the text is displayed in the textbox but is not set to the input element's value attribute in the html. It doesn't show up in the input tag or anywhere in the html of the page until I press enter.
How does this work? Doesn't all text showing up on the screen need to be in the html in some form even if the html is dynamically generated?
Is there any way to test for the presence of the inputted text in the html using xpath or any other method, prior to submitting and updating the value attribute?
Any help or insight on how this works would be much appreciated.