title: Click an option in dropdown menu using PHP Selenium Webdriver?
body: <p>I am using PHP Selenium Webdriver wrapper by <a href="https://github.com/facebook/php-webdriver" rel="noreferrer">Facebook</a>. Can anyone please give me an example of how to click or select an option from a select drop down menu?</p>
  
  <p>I have tried this:</p>
  
  <pre><code>$test = $driver-&gt;findElement( WebDriverBy::id('drop1').WebDriverBy::cssSelector("option[value='11']"));
  $test-&gt;‌​click();
  </code></pre>
  
  <p>but it errors out: </p>
  
  <blockquote>
    <p><strong>Message</strong> : Object of class WebDriverBy could not be converted to string</p>
  </blockquote>