title: Obtaining stray text adjacent to selected radio button using xpath in watir
body: <p>I have some stray text next to radio buttons in a radio button group. I tried to obtain it using xpath and watir, but I had no luck with it. Here's some sample HTML for it</p>
  
  <pre><code>&lt;html&gt; 
  &lt;head&gt;&lt;/head&gt; 
  &lt;body&gt; 
   &lt;input type="radio" name="options" value="No"&gt;No &lt;br /&gt;
   &lt;input type="radio" name="options" value="Yes"&gt;Yes &lt;br /&gt;
   &lt;input type="radio" name="options" value="Maybe"&gt;Maybe &lt;br /&gt;
  &lt;/body&gt; 
  &lt;/html&gt; 
  </code></pre>
  
  <p>I can obtain the selected radio button using xpath by </p>
  
  <pre><code>selectedRadio = browser.radio(:xpath,"//input[@checked and @name='options']")
  </code></pre>
  
  <p>How can I obtain say Yes, No, Maybe if the corresponding radio buttons are selected? I also tried to obtain it using Watir, but the .text method would not work on the Watir::RadioButton object which would be true since the texts are stray texts.</p>
  
  <p>Thanks in advance.</p>