title: Why does this Selenium/XPath query select only the first `g` tag?
body: <p>I have an <code>svg</code> element with multiple <code>g</code> tags inside it. Typically, when I select a tag by name, I get a list of all tags on the page. For example, this returns a list of Selenium <code>WebElement</code> instances:</p>
  
  <pre><code>browser.find_elements_by_xpath('//a')
  </code></pre>
  
  <p>But when I try to select all the <code>g</code> tags inside my <code>svg</code> element, I only get the first element returned. For example:</p>
  
  <pre><code>browser.find_element_by_xpath('//*[name()="svg"]/*[name()="g"]')
  </code></pre>
  
  <p>And here my markup:</p>
  
  <pre><code>&lt;svg xmlns="http://www.w3.org/2000/svg"&gt;
      &lt;g&gt;...&lt;/g&gt;
      &lt;g&gt;...&lt;/g&gt;
      &lt;g&gt;...&lt;/g&gt;
      ...
  &lt;/svg&gt;
  </code></pre>
  
  <p>How can I select all the <code>g</code> tags?</p>