title: Read a hidden value in a div using Selenium Python binding
body: <p><strong>Issue:</strong> How can you read a value in a nested <code>&lt;div&gt;</code>?</p>
  
  <p><strong>Situation:</strong> I am testing the registration on our web site. In order to complete the process, the user will need to enter the captcha. Using a helper class (on our dev server) we can display (hidden) the current captcha. I need to grab that and save it to be used by a .send_keys function (that part is the easy part). I have no code to share with what I am using, as I am not even sure where to jump in.</p>
  
  <p>Well, I have this, but this is obviously not the answer:</p>
  
  <pre><code>driver.find_element_by_id("capchta").send_keys("foobar")
  </code></pre>
  
  <p>With above, I can send a key value (seen as "foobar"). I just need to replace "foobar" with a string that I read in the <code>value=XXX</code></p>
  
  <p>Here is the HTML code with the captcha, represented with the <code>value=XXXX</code>.</p>
  
  <pre><code>&lt;div id="code_area"&gt;
       &lt;p id="captcha_blurb"&gt;Please enter the security code below&lt;/p&gt;
       &lt;div id="capchta_area"&gt;
       &lt;img id="secuity_icon" src="/img3/Secuity-Icon.png"&gt;
       &lt;img id="security-image" src="data:image/png;=="&gt;
       &lt;input id="current_captcha" type="hidden" value="XXXX"&gt;
       &lt;input id="capchta" class="reg_form_input" value="" name="code" placeholder="Enter Security Code" title=" Please Enter These Characters." onblur="removeInputInfoBox('reg_box');" onfocus="addInputInfoBox('#capchta','#capchta_area', 'reg_box');"&gt;
  &lt;/div&gt;
  </code></pre>