From: Vitor G. <vit...@gm...> - 2005-01-03 20:28:17
|
Hi Brad, I've tried using the full-featured browser, and got the same error. The result of code attached is always the login form, because of the automatic redirect. Vitor On Mon, 3 Jan 2005 10:41:03 -0800 (PST), Brad Clarke <yo...@br...> wrote: > What do you get back? Have you tried not setting a specific browser version and > using the default full-featured browser? > > Brad C > > --- Vitor George <vit...@gm...> wrote: > > > Hi, > > > > I'm trying to develop an Orkut Bot, that will gather information about > > friends and communities. Look at the code bellow: > > > > > > final WebClient client = new WebClient(BrowserVersion.MOZILLA_1_0); > > final HtmlPage page = (HtmlPage)client.getPage(new > > URL("http://www.orkut.com/Login.aspx") ); > > final HtmlForm form = page.getFormByName("f"); > > form.setAttributeValue("u", "username"); > > form.setAttributeValue("p", "password"); > > page = (HtmlPage)form.click(); > > System.out.println(page.asText()); > > > > When I execute this code, I can't get the initial page, Home.aspx. I > > followed the instructions about using JSSE, but the problem continues. > > > > Can anyone help me? > > > > Thanks, > > Vitor. > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by: Beat the post-holiday blues > > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > > _______________________________________________ > > Htmlunit-user mailing list > > Htm...@li... > > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > |