title: selenium webdriver: org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with
body: <p>I am trying to click on the span with the text- clone concept. Following is the html</p>
  
  <pre><code>&lt;ul class="context-menu-list context-menu-root" style="width: 210px; top: 500px; left: 231px; z-index: 2;"&gt;
      &lt;li class="context-menu-item"&gt;
      &lt;li class="context-menu-item"&gt;
      &lt;li class="context-menu-item disabled"&gt;
      &lt;li class="context-menu-item"&gt;
      &lt;li class="context-menu-item icon icon-evn-icon-clone-concept"&gt;
          &lt;span&gt;Clone concept&lt;/span&gt;
      &lt;/li&gt;
      &lt;li class="context-menu-item"&gt;
      &lt;li class="context-menu-item icon icon-delete disabled"&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>the javascript code i use is:</p>
  
  <pre><code>driver.findElement(By.xpath("//span[text()='Clone concept']")).click();
  </code></pre>
  
  <p>I verified that this is the right for the element through firepath.</p>
  
  <p>I also made sure that element is visible as per the link <a href="https://stackoverflow.com/questions/6101461/selenium-2-0-element-is-not-currently-visible">How to force Selenium WebDriver to click on element which is not currently visible?</a></p>
  
  <p>Here is the <strong>computed css</strong></p>
  
  <pre><code>font-family Verdana,?Arial,?Helvetica,?sans-serif
      .context-menu-list  Verdana,?Arial,?Helvetica,?sans-serif   
      jquery...enu.css (line 15)
      body    Arial,?Helvetica,?sans-serif    
      swa.css (line 3)
      font-size   11px
      .context-menu-list  11px    
      jquery...enu.css (line 15)
      list-style-type none
      .context-menu-list  none    
      jquery...enu.css (line 15)
  </code></pre>
  
  <p>Also tried the following code:</p>
  
  <pre><code>WebElement foo = driver.findElement(By.xpath("//span[text()='Clone concept']"));
  Actions bar = new Actions(driver);
  bar.click(foo).perform(); 
  </code></pre>
  
  <p><strong>Exception:</strong>
  org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with
  Command duration or timeout: 30.04 seconds
  Build info: version: '2.24.1', revision: '17205', time: '2012-06-19 16:53:24'
  System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0'
  Driver info: driver.version: RemoteWebDriver</p>
  
  <p>Any help will be appreciated.</p>
  
  <p>Another hack for those who get stuck here:<br>
  For the time being I have been able to move forward by splitting this huge test case into simpler test cases.</p>