title: Selenium x-path get Radio button label text
body: <p>Here is the HTML for 2 radio buttons and label text next to them. There are several radio buttons on the page, each with different shipping options. I am trying to verify that a specific option has the right price. So I need to get text from the tag AFTER the radio tag. So I am searching by the shipping option, but I need to get the text with the price:</p>
  
  <pre><code>&lt;td valign="top"&gt;
  &lt;input type="radio" checked="" name="name" value="USPS Ground"&gt;
  &lt;input type="hidden" value=" " name="_D:name"&gt;
  &lt;/td&gt;
  &lt;td style="padding: 0px 0px 5px;" class="stdCopy"&gt;USPS Ground - $0.00&lt;br&gt;(All states: 4-9 business days. Delivery Monday&amp;ndash;Saturday)
  &lt;/td&gt;
  &lt;/tr&gt;
  
  &lt;tr&gt;&lt;td valign="top"&gt;
  &lt;input type="radio" name="name" value="USPS Priority*"&gt;
  &lt;input type="hidden" value=" " name="_D:name"&gt;
  &lt;/td&gt;
  &lt;td style="padding: 0px 0px 5px;" class="stdCopy"&gt;USPS Priority - $5.95&lt;br&gt;(All states: 3-5 business days. Delivery Monday-Saturday)
  &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>I am trying to use Selenium's <code>selenium.GetText(locator)</code>, but if my Selenium "locator" is @class="stdCopy", I will only get the first radio's text (USPS Ground). But I need to be able to access the right radio (given value=USPS Ground or value=USPS Priority) and verify the dollar amount - is it $0.00 or $5.95?</p>
  
  <p>I need to define the locator with either XPATH or CSS statement (HOW?) to access the correct dollar amount in the right tag after the radio button.</p>
  
  <p>Please help!</p>