title: Unable to extract the text using Xpath
body: <p>Please help in identifying what is wrong here. I tried using below given Xpath's but no luck. Please see the image.</p>
  
  <ol>
  <li>I tried using the custom xpath - </li>
  </ol>
  
  <p><code>xpath("//*[@class=' js flexbox canvas canvastext webgl no-touch geolocation postmessage no-websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients no-cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths']/body/div[@class='ui-dialog ui-widget ui-widget-content ui-corner-all ui-front ui-draggable']/div[@class='ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix ui-draggable-handle']/span[@class='ui-dialog-title']").getText</code>  </p>
  
  <p>This one returns element not found error. However the object is identified when this Xpath is given in Selenium IDE</p>
  
  <ol start="2">
  <li>id("ui-id-8").getText  - This one returns blank</li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/H9Dr1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/H9Dr1.png" alt="[HTML of the page]"></a></p>