title: How do I find X-Path for elements within a frameset?
body: <p>I'm trying to write a test case for Selenium and I'm having a little trouble finding elements.  I believe its because my site uses a HTML frame set.</p>
  
  <p>If I open up Firebug, and try to simply select all links:</p>
  
  <pre><code>//a
  </code></pre>
  
  <p>... I get no results (although the 'menu' frame contains about 15+ links).</p>
  
  <p>If I right-click in the menu frame and choose to "Show Only This Frame", and <em>then</em> select all links in Firebug, <strong>I get all 15+ links returned</strong>.</p>
  
  <p>This leads me to believe X-Path cannot iterate through elements within a specific frame.  Is that true?</p>
  
  <p>When the site is showing all frames, I can select the specific frame:</p>
  
  <pre><code>//frame[@name='menu']
  </code></pre>
  
  <p>...but trying to drill down to the links starting with that X-Path does not work:</p>
  
  <pre><code>//frame[@name='menu']//a
  //frame[@name='menu']@@@//a &lt;-- Special '@@@' syntax I read about somewhere to try.
  </code></pre>
  
  <p>Any help trying to solve this with X-Paths is appreciated.  If a CSS selector will work, I could use some pointers there as well.  Thanks!</p>
  
  <p>jg</p>