title: How to select radiobutton through @FindBy annotation in selenium webdriver
body: <p>While designing page object class we use <code>@FindBy(name="value")</code> i.e <em>FindBy</em> with name.</p>
  
  <p>SO below code to find an webpage's textbox like username field.
  <code>@FindBy(name="username")</code></p>
  
  <pre><code>WebElement txtboxUname;
  </code></pre>
  
  <p>........//Inside testfunction we call this <code>txtboxUname</code> like below</p>
  
  <p><code>txtboxuname.sendKeys("purnendu");</code></p>
  
  <p>So for radio button page object how we define it through <code>@FindBy</code>???
  Following code is not working</p>
  
  <p><code>@FindBy(name="radio")</code></p>
  
  <p><code>List&lt;WebElement&gt; radioBtnSelectTrip</code>;</p>
  
  <p>.......call inside function</p>
  
  <p><code>radioBtnSelectTrip.get(0).click();</code></p>
  
  <p>The above <code>@FindBy</code> technique is not working for radio button.can you please help how to define <code>radiobutton</code> through <code>@FindBy</code> and use it through Pagefactory</p>