title: Selenium driver.getTitle() is not working
body: <p>driver.getTitle() does not return the title of the page. It returns null. I have the below html structure in the web page:</p>
  
  <pre><code>&lt;head&gt;
    &lt;!-- needed for translation of titles --&gt;
  
    &lt;!-- needed for gomez.jsp --&gt;
    &lt;script type="text/javascript" async="" src="https://ssl.google-analytics.com/ga.js"&gt; &lt;/script&gt;&lt;script type="text/javascript"&gt; … &lt;/script&gt;&lt;script src="https://B001E0.t.axf8.net/js/gtag5.js" type="text/javascript"&gt;&lt;/script&gt;
    &lt;title&gt;
       Applications
    &lt;/title&gt;
    so on....
  </code></pre>
  
  <p>Could somebody explain whats the problem here.. Thanks in advance</p>