title: extract Element from div with jSoup returns null
body: <p>I'm trying to extract a string from a web page: <a href="https://play.google.com/store/apps/details?id=com.bitmango.rolltheballunrollme" rel="nofollow noreferrer">https://play.google.com/store/apps/details?id=com.bitmango.rolltheballunrollme</a>. The string I want is in: <code>&lt;div class="id-app-title" tabindex="0"&gt;Roll the Ball™ - slide puzzle&lt;/div&gt;</code>.</p>
  
  <p>I've looked at <a href="https://jsoup.org/cookbook/extracting-data/selector-syntax" rel="nofollow noreferrer">https://jsoup.org/cookbook/extracting-data/selector-syntax</a> and I'm pretty sure I'm following the instructions, but I'm getting:</p>
  
  <pre><code>Exception in thread "main" java.lang.NullPointerException
  at gaspacho.Gaspacho.getAppTitle(Gaspacho.java:109)
  at gaspacho.Gaspacho.alphabetty(Gaspacho.java:94)
  at gaspacho.Gaspacho.main(Gaspacho.java:27)
  /home/david/.cache/netbeans/8.1/executor-snippets/run.xml:53: Java returned: 1
  BUILD FAILED (total time: 3 seconds)
  </code></pre>
  
  <p>This is the method I'm using:</p>
  
  <pre><code>public void getAppTitle(String url){
      try {
          Document document = Jsoup.connect(url).get();
  
          Element appTitleElement = document.select("div.id-app-title" ).first();
  
          String title = appTitleElement.toString();
  
          System.out.println(title);
  
      } catch (IOException e) {
          e.printStackTrace();
      }
  }
  </code></pre>
  
  <p>Any help you can give would be appreciated</p>