title: Selecting a non-visible item in the dropdown for a GXT ComboBox
body: <p>I am trying to test an application written using GWT 2.3.0 and GXT 2.2.5 with the Selenium 2.25 WebDriver on Java.</p>
  
  <p>In the application, I have a ComboBox with a large number of options, so many that the list has a scrollbar. I need to select an item that is not visible in the list.</p>
  
  <p>I run the test using the following code:</p>
  
  <pre class="lang-java prettyprint-override"><code>//xpath for combobox trigger
  String xpathExpression = "//div[starts-with(@id,'combobox ID']/descendant::img[contains(@class,'x-form-trigger-arrow')]";
  driver.findElement(By.xpath(xpathExpression)).click();
  
  //xpath for combobox list item
  xpathExpression = "//div[contains(@class,'x-combo-list-item']/descendant::div[text()='item text']";
  driver.findElement(By.xpath(xpathExpression)).click();
  </code></pre>
  
  <p>where <em>comboBoxID</em> is the ID prefix I use to identify the ComboBox and <em>item text</em> is the text displayed in the drop-down list for the item.</p>
  
  <p>If the item is visible on the page, the test runs fine. If the item is too far down on the list to be seen, I get an <em>ElementNotVisibleException</em>.</p>
  
  <p>Is there any way for me to select the non-visible item?</p>