title: How to select a dropdown value in Selenium WebDriver using Java
body: <p>I am new to selenium , currently am working on selenium webdriver i want to select a value from the drop down.
  The id=periodId and the option is many in that am trying to select Last 52 weeks.</p>
  
  <p>Here is the HTML code:</p>
  
  <pre><code>&lt;select id="periodId" name="period" style="display: none;"&gt;
      &lt;option value="l4w"&gt;Last 4 Weeks&lt;/option&gt;
      &lt;option value="l52w"&gt;Last 52 Weeks&lt;/option&gt;
      &lt;option value="daterange"&gt;Date Range&lt;/option&gt;
      &lt;option value="weekrange"&gt;Week Range&lt;/option&gt;
      &lt;option selected="" value="monthrange"&gt;Month Range&lt;/option&gt;
      &lt;option value="yeartodate"&gt;Year To Date&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>Please suggest me some ways to click the drop down.</p>
  
  <p>I tried with the above example lines but am getting error such as Element is not currently visible and so may not be interacted with
  Command duration or timeout: 32 milliseconds
  the drop downs values are the jquery multiselect widget format.</p>