driver.getTitle() 不返回页面的标题。它返回空值。我在网页中有以下 html 结构:
<head>
<!-- needed for translation of titles -->
<!-- needed for gomez.jsp -->
<script type="text/javascript" async="" src="https://ssl.google-analytics.com/ga.js"> </script><script type="text/javascript"> … </script><script src="https://B001E0.t.axf8.net/js/gtag5.js" type="text/javascript"></script>
<title>
Applications
</title>
so on....
有人可以解释一下这里的问题..提前谢谢