title: I couldn't click the select dropdown on the website
body: <p>I couldn't click the  <code>depart</code>, <code>arrvie</code> dropdown menu form</p>
  
  <blockquote>
    <p><a href="https://m.flyscoot.com/search" rel="nofollow">https://m.flyscoot.com/search</a></p>
  </blockquote>
  
  <p>I tried to use Xpath to click them, But I got no luck:</p>
  
  <pre><code>@driver.find_element(:xpath,  "//~~~~~" ).click
  </code></pre>
  
  <p>And is there any way to let me fill the <code>date value</code> manually.</p>
  
  <p>It's impractical to click the date by mouse, if I want to click the whole year.</p>
  
  <p>The more practical solution is generating dates of whole  year then fill it in, but I could't get it with selenium <code>firefox driver</code>.</p>
  
  <p><img src="https://i.imgur.com/AQAh7CJ.png" alt=""></p>
  
  <p>No luck by xpath with contains method:</p>
  
  <pre><code>@driver.find_element(:xpath, "//*[contains(text(),'Departure Airport')]")
  </code></pre>
  
  <blockquote>
    <p>NoSuchElementError: Unable to locate element: 
        [4] pry(#)> arrival = @driver.find_element(:xpath, "//<em>[contains(text(),'Departure Airport')]")
        Selenium::WebDriver::Error::NoSuchElementError: Unable to locate element: {"method":"xpath","selector":"//</em>[contains(text(),'Departure
    Airport')]"}
        from [remote server] file:///var/folders/6d/<em>th4jpm90n1cx8h2l3kr49fr0000gn/T/webdriver-profile20150612-45453-15z20qu/extensions/fxdriver@googlecode.com/components/driver-component.js:10271:in
    `FirefoxDriver.prototype.findElementInternal</em>'</p>
    
    <p>webdriver</p>
  
  <pre><code>➜  workspace  gem list selenium-webdriver
  
  *** LOCAL GEMS ***
  
  selenium-webdriver (2.45.0)
  </code></pre>
  </blockquote>