Hi,
I'm trying to make a login in the page https://support.virtustream.com/, but
I can't retrieve the login form from iframe. I'm using the following code:
final WebClient webClient = new WebClient()
HtmlPage page = webClient.getPage("https://support.virtustream.com/");
HtmlPage loginPage=
page.getFrameByName("gsft_main").getFrameElement().getEnclosedPage();
HtmlForm form = loginPage.getFormByName("loginPage");
HtmlTextInput textField = form.getInputByName("user_name");
The problem is that the second page that I try to get is dinamically
retrieved using a struts action. If I print the content of loginPage as text
I only get:
<html>
<head></head>
<body></body>
</html>
Can you help me please?
Thanks
--
Sent from: http://htmlunit.10904.n7.nabble.com/HtmlUnit-Dev-f3.html
|