title: Get all Elements in a Form
body: <p>I would like to use Selenium to submit a form which contains several elements. For example:</p>
  
  <pre><code>&lt;form name="something"&gt;
      &lt;input type="text" name="a"&gt;Username&lt;/input&gt;
      &lt;input type="password" name="b"&gt;password&lt;/input&gt;
      &lt;select name="c" id="c"&gt;
         &lt;option value="1"&gt;1&lt;/option&gt;
         &lt;option value="2"&gt;2&lt;/option&gt;
      &lt;/select&gt;
      &lt;input type="submit" name="submit"&gt;submit&lt;/input&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>If I use find.Element(By.name) to find out the form element, how can I get its children elements a, b, and c? And input the values into these three elements then submit the form?</p>
  
  <p>Another similar question is: if I get the element <code>a</code>, how to get elements <code>b</code> and <code>c</code> are in the same form and  to fill (or select) values first, then submit the form?</p>
  
  <p>Thanks in advance!</p>