title: How to extract text entered in text input using Selenium WebDriver?
body: <p>I have an HTML element <code>&lt;input id="input-id" type="text" value="initial"&gt;</code>.<br>
  After loading the page I can get text from this element using, for example, <code>driver.find_element_by_id("input-id").get_attribute("value")</code>.  </p>
  
  <p>But then I click on this element and change the text inside (to "edited", for example). Nothing in DOM changes, including value of the <code>value</code> attribute<br>
  (i.e. <code>driver.find_element_by_id("input-id").get_attribute("value")</code> still returns "initial" and element in DOM looks like <code>&lt;input id="input-id" type="text" value="initial"&gt;</code>)  </p>
  
  <p>How can I extract value that is now visible in browser (i.e. string "edited")? Do I need to execute some JavaScript or anything?</p>