title: accessing form tag with selenium web driver
body: <p>I am trying to locate a tag on a page, but so far finding it by name/id/xpath have not worked. This is what I've tried to locate it by xpath:</p>
  
  <pre><code>db = driver.find_element_by_xpath("/html/body/form")
  </code></pre>
  
  <p>and also </p>
  
  <pre><code>driver.find_element_by_xpath("//form[@id='formControl']")
  </code></pre>
  
  <p>Both of these return the error:</p>
  
  <pre><code>selenium.common.exceptions.NoSuchElementException: Message: u'Unable to locate element:
  </code></pre>
  
  <p>It's as if it can not find the form on the page. Any ideas of how to fix?</p>
  
  <p>Here's the beginning of the html on the page:</p>
  
  <pre><code>&lt;html&gt;
    &lt;body id="bodyControl" class="PersonalizationPage ContentPage Layout_PageUsesRegions" onunload="closeTimeoutWarningPopupWindow();return true;" onload="return __MasterOnLoad();" onresize="return __MasterOnResize();"&gt;
      &lt;form name="formControl" method="post" action="default.wl?appflag=65.14&amp;amp;bhcp=1&amp;amp;MT=208&amp;amp;rs=LAWS2.0&amp;amp;strRecreate=no&amp;amp;sv=Split&amp;amp;transfertoken=10281204301250d0dbca913e4aa6887c7d425f4ede9c&amp;amp;vr=2.0" id="formControl" target="_top"&gt;
  </code></pre>