title: Python selenium select element from drop down. Element Not Visible Exception
body: <p>I'm trying to scrape the following website <a href="http://www.costacrociere.it/B2C/I/Pages/Default.aspx" rel="nofollow noreferrer">link</a></p>
  
  <p>I need to automate the following steps:</p>
  
  <p>1) Select the correct drop down table (the first on the left you see un the image below).</p>
  
  <p>2) Select an option from the drop down menu (Caraibi option).</p>
  
  <p>3) Click on the search button.</p>
  
  <p>Drop down images: The first on the left ("Dove vuoi andare?").
  <a href="https://i.stack.imgur.com/u7xNn.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u7xNn.jpg" alt="enter image description here"></a></p>
  
  <p>The HTML code is the following one:</p>
  
  <pre><code> &lt;select name="ctl00$ctl00$ctl00$ctl37$g_7e88f2a7_c220_4ba6_8ca8_49ca1297d22a$cruiseFinderControl$ddl_MacroArea" onchange="javascript:setTimeout('__doPostBack(\'ctl00$ctl00$ctl00$ctl37$g_7e88f2a7_c220_4ba6_8ca8_49ca1297d22a$cruiseFinderControl$ddl_MacroArea\',\'\')', 0)" id="ctl00_ctl00_ctl00_ctl37_g_7e88f2a7_c220_4ba6_8ca8_49ca1297d22a_cruiseFinderControl_ddl_MacroArea" class="ddlMacroArea" tabindex="0"&gt;
          &lt;option selected="selected" value=""&gt;Tutte le destinazioni&lt;/option&gt;
          &lt;option value="NORTHERN CAPITALS"&gt;Capitali Nordiche&lt;/option&gt;
          &lt;option value="EASTERN CARIBBEAN"&gt;Caraibi&lt;/option&gt;
          &lt;option value="MAR ROSSOARAB"&gt;Dubai/Emirati Arabi&lt;/option&gt;
          &lt;option value="NORWEGIAN FJORDS"&gt;Fiordi, Spitzbergen e Islanda&lt;/option&gt;
          &lt;option value="PACIFIC OCEAN"&gt;Giro del Mondo&lt;/option&gt;
          &lt;option value="WEST MEDITERRANEAN"&gt;Mediterraneo Occidentale&lt;/option&gt;
          &lt;option value="EAST MEDITERRANEAN"&gt;Mediterraneo Orientale&lt;/option&gt;
          &lt;option value="ATLANTIC OCEAN"&gt;Oceano Atlantico/Canarie&lt;/option&gt;
          &lt;option value="INDIAN OCEAN"&gt;Oceano Indiano, Maldive, Mauritius&lt;/option&gt;
          &lt;option value="ORIENTAL LANDS"&gt;Oriente&lt;/option&gt;
          &lt;option value="SOUTH AMERICA"&gt;Sud America&lt;/option&gt;
          &lt;option value="TRANSATLANTIC"&gt;Transatlantiche&lt;/option&gt;
  
      &lt;/select&gt;
  </code></pre>
  
  <p>Well I'm using this code:</p>
  
  <pre><code> from selenium import webdriver
   from selenium.webdriver.support.ui import Select
   import time
  
   driver = webdriver.Chrome('path/to/the/driver.exe')
   driver.get('https://www.costacrociere.it/B2C/I/Pages/Default.aspx')
   driver.set_window_size(800, 660)
   time.sleep(2)
   select=Select(driver.find_element_by_id("ctl00_ctl00_ctl00_ctl37_g_7e88f2a7_c220_4ba6_8ca8_49ca1297d22a_cruiseFinderControl_ddl_MacroArea"))
  
  
   #view of the grappled options
   select.options
  </code></pre>
  
  <p>So until here i can get all the options (this is a part of them):</p>
  
  <pre><code> [&lt;selenium.webdriver.remote.webelement.WebElement 
   (session="7978296e5858040f56f27f3414087c60", element="0.7352996272394383-2")&gt;, 
   &lt;selenium.webdriver.remote.webelement.WebElement 
   (session="7978296e5858040f56f27f3414087c60", element="0.7352996272394383-3")&gt;, 
   &lt;selenium.webdriver.remote.webelement.WebElement 
   (session="7978296e5858040f56f27f3414087c60", element="0.7352996272394383-4")&gt; 
  </code></pre>
  
  <p>So when I try to select the option by visible text, for example 'Caraibi' I get the following error:</p>
  
  <pre><code># select by visible text
  select.select_by_visible_text('Caraibi') 
  
  
  OUT: ElementNotVisibleException: element not visible: Element is nocurrently 
  visible and may not be manipulated(Session info: chrome=63.0.3239.132)
  (Driver info: chromedriver=2.33.506120 
  (e3e53437346286c0bc2d2dc9aa4915ba81d9023f),platform=Windows NT 6.1.7601 SP1 
  x86_64)
  </code></pre>
  
  <p>Thanks for your help!!!</p>