From: Ronald B. <rb...@rb...> - 2022-11-27 16:05:15
|
Can you please open an issue for this on github - otherwise the might get lost. Ronald On Fri, 18 Nov 2022 16:25:51 -0300 Adriano Oliveira da Silva wrote: > >Hello, > >I am try get page with htmlunit (all versions htmlunit, all BrowserVersion) >and the site return problem with cookie. As if it were disabled. > >sample code: > >WebClient webClient = new WebClient(BrowserVersion.BEST_SUPPORTED); > >webClient.getCookieManager().setCookiesEnabled(true); > >HtmlPage page = webClient.getPage(" >https://sso.acesso.gov.br/logn?client_id=consumidor.gov.br&authorization_id=1848bfa e21b >"); > >System.out.println(page.asNormalizedText()); > >show message >"Foi detectado que os cookies do seu browser podem estar >desabilitados. Por favor habilite os cookies e tente novamente." > >Does it have a solution? > >Thank you > > > >----< Inline text [text-plain-04.txt] >------------------ > > > > >----< Inline text [text-plain-05.txt] >------------------ > >_______________________________________________ >HtmlUnit-develop mailing list >Htm...@li... >https://lists.sourceforge.net/lists/listinfo/htmlunit-develop > > |