Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经通过在 java 中使用WATIJ jar 文件登录到一个网站。现在我想获取登录后出现的网页的页面源(HTML代码)。
我已经有 IE 实例了。
您是否尝试过 .html() 方法?
或者,如果您搜索特定的内容,您可以搜索特定的 HtmlElement
但再次使用一些代码或有关您尝试过的信息,这将有助于我们为您提供更好的答案