title: How to click on select options using selenium
body: <p>I can't click on option element-</p>
  
  <p>website: <a href="http://www.oferty.net" rel="nofollow noreferrer">http://www.oferty.net</a></p>
  
  <p>When I am trying to select one option in the drop-down list. Unfortunately
  I receive the message:</p>
  
  <blockquote>
    <p>"Cannot click on option element. Executing JavaScript click function
    returned an unexpected error"</p>
  </blockquote>
  
  <p>What did I do wrong with the following code:</p>
  
  <pre><code>Select estateType = new Select(driver.findElement(By.id("ps_type")));
  estateType.selectByVisibleText("domy");    
  </code></pre>
  
  <p>Please help.</p>