title: Webdriver Automation - Unable to find element using xpath (in Octane 2.0 Benchmark page)
body: <p>I am trying to parse Octane benchmark page <a href="http://octane-benchmark.googlecode.com/svn/latest/index.html" rel="nofollow">http://octane-benchmark.googlecode.com/svn/latest/index.html</a> , with WebElements:</p>
  
  <pre><code>&lt;div class="hero-unit" id="inside-anchor"&gt;
      &lt;h1 id="main-banner" align="center"&gt;Start Octane 2.0&lt;/h1&gt;
      &lt;div id="bar-appendix"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I've started Selenium WebDriver on my tablet device (using Java, Eclipse, Selendoroid)</p>
  
  <pre><code>SelendroidConfiguration config = new SelendroidConfiguration();
  selendroidServer = new SelendroidLauncher(config);
  selendroidServer.lauchSelendroid();
  DesiredCapabilities caps = SelendroidCapabilities.android();
  driver = new SelendroidDriver(caps); 
  </code></pre>
  
  <p>and I've initialized driver with Octane page:</p>
  
  <pre><code>driver.get("http://octane-benchmark.googlecode.com/svn/latest/index.html");
  </code></pre>
  
  <p>I am trying to parse it with xpath:</p>
  
  <pre><code>String xpathString = "//div[@class='hero-unit']//h1";   
  String line = driver.findElement(By.xpath(xpathString)).getText();
  System.out.println(line);
  </code></pre>
  
  <p>but Java returns NullPointer Exception (on line)- function FindElement() can not find anything on this .html page. </p>
  
  <p>Driver is started well, it returns appropriate value for getCurrentUrl() function, but can not return PageSource(), and can not return any value for findElement(By.something...).
  Looks like, this Octane page has something that stops every search request (during parsing process). On the same way I have parsed 7 other benchmark pages, and they worked well, but this Octane page...acts just like it is "empty" for WebDriver...</p>
  
  <p>I don't know is it because of </p>
  
  <pre><code>&lt;script type="text/javascript"&gt; 
  </code></pre>
  
  <p>part, or something else?</p>
  
  <p>Is this Octane benchmark page special about something?</p>
  
  <p>Thanks...</p>