title: Select DropDown option using selenium
body: <p>If someone could help me with this mystery.. Here is the <a href="https://www.schoolofdragons.com/Parents/ActivateAccount.aspx?key=bop15Gn9jl9MCWB369XU5fPJoFrOjtdhjU3bZ5pbB0bqyFTvVTNM8BqlLbGCl%2fDXOMKADtPwUQFJ21IfnTdwT2cMayD739a9eKS%2fPqODwTuYz61Vk8H4Iu%2fzcjg1x0q%2bfNaTfaeLqb%2fMLwRE%2b859cw%3d%3d&amp;lang=en-US" rel="nofollow">url</a></p>
  
  <p>Here if you can see the Date of Birth Fields I am able to select the Month and Date but I am not able to select Year 
  I Tried selecting Using Value, Index it did not work the same code worked for Month and Date</p>
  
  <p>Below is My Code:</p>
  
  <pre><code>WebElement W = driver.findElement(By.xpath("//html/body/form[@id='aspnetForm'][contains(@action,'ActivateAccount.aspx?key=')][@method='post'][@name='aspnetForm']/div[@class='border4']/div[@id='page']/div[@class='IE-SCroll-mid']/div/div[@class='change-info-contain']/div/div/div/label[3]/select"));     
  Select dropdown = new Select(W);
  dropdown.selectByValue("1997");
  </code></pre>