title: Selenium determining whether a select option is visible
body: <p>I am trying to pick an option within a select element depending on whether it is visible or not. </p>
  
  <p>Is there anyway to determine whether options within selects are visible? They have that attribute in the CSS, but selenium doesn't have a <code>.isDisplayed</code> method for <code>Select</code> elements. </p>
  
  <pre><code>    // Select page role permission
      Select pageRole = new Select (driver.findElement(By.id("page_roles")));
      pageRole.selectByIndex(1);
  </code></pre>