You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(6) |
Jul
(17) |
Aug
(18) |
Sep
(22) |
Oct
(16) |
Nov
(6) |
Dec
(11) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(11) |
Feb
(10) |
Mar
(34) |
Apr
(26) |
May
(6) |
Jun
(22) |
Jul
(14) |
Aug
(4) |
Sep
(47) |
Oct
(69) |
Nov
(23) |
Dec
(21) |
2005 |
Jan
(53) |
Feb
(33) |
Mar
(92) |
Apr
(65) |
May
(63) |
Jun
(57) |
Jul
(43) |
Aug
(132) |
Sep
(61) |
Oct
(75) |
Nov
(60) |
Dec
(130) |
2006 |
Jan
(74) |
Feb
(87) |
Mar
(101) |
Apr
(58) |
May
(54) |
Jun
(42) |
Jul
(31) |
Aug
(67) |
Sep
(61) |
Oct
(71) |
Nov
(28) |
Dec
(58) |
2007 |
Jan
(53) |
Feb
(50) |
Mar
(96) |
Apr
(66) |
May
(55) |
Jun
(130) |
Jul
(99) |
Aug
(115) |
Sep
(37) |
Oct
(78) |
Nov
(24) |
Dec
(70) |
2008 |
Jan
(94) |
Feb
(85) |
Mar
(197) |
Apr
(274) |
May
(119) |
Jun
(143) |
Jul
(193) |
Aug
(99) |
Sep
(160) |
Oct
(120) |
Nov
(178) |
Dec
(109) |
2009 |
Jan
(238) |
Feb
(169) |
Mar
(115) |
Apr
(109) |
May
(131) |
Jun
(167) |
Jul
(144) |
Aug
(193) |
Sep
(155) |
Oct
(154) |
Nov
(97) |
Dec
(127) |
2010 |
Jan
(108) |
Feb
(127) |
Mar
(176) |
Apr
(113) |
May
(130) |
Jun
(200) |
Jul
(115) |
Aug
(80) |
Sep
(92) |
Oct
(101) |
Nov
(124) |
Dec
(53) |
2011 |
Jan
(67) |
Feb
(144) |
Mar
(88) |
Apr
(60) |
May
(89) |
Jun
(54) |
Jul
(68) |
Aug
(81) |
Sep
(48) |
Oct
(40) |
Nov
(10) |
Dec
(20) |
2012 |
Jan
(21) |
Feb
(28) |
Mar
(17) |
Apr
(35) |
May
(41) |
Jun
(44) |
Jul
(68) |
Aug
(67) |
Sep
(89) |
Oct
(58) |
Nov
(47) |
Dec
(56) |
2013 |
Jan
(49) |
Feb
(28) |
Mar
(46) |
Apr
(31) |
May
(28) |
Jun
(37) |
Jul
(34) |
Aug
(52) |
Sep
(42) |
Oct
(108) |
Nov
(59) |
Dec
(56) |
2014 |
Jan
(41) |
Feb
(72) |
Mar
(46) |
Apr
(21) |
May
(19) |
Jun
(17) |
Jul
(15) |
Aug
(40) |
Sep
(11) |
Oct
(3) |
Nov
(5) |
Dec
(31) |
2015 |
Jan
(11) |
Feb
(12) |
Mar
(19) |
Apr
(19) |
May
(38) |
Jun
(54) |
Jul
(14) |
Aug
(42) |
Sep
(14) |
Oct
(16) |
Nov
(26) |
Dec
(14) |
2016 |
Jan
(3) |
Feb
(1) |
Mar
(24) |
Apr
(5) |
May
(15) |
Jun
(14) |
Jul
(33) |
Aug
(19) |
Sep
(8) |
Oct
(10) |
Nov
|
Dec
(2) |
2017 |
Jan
(16) |
Feb
(12) |
Mar
(23) |
Apr
(8) |
May
(11) |
Jun
(20) |
Jul
(21) |
Aug
(20) |
Sep
|
Oct
(6) |
Nov
(9) |
Dec
(2) |
2018 |
Jan
(7) |
Feb
(5) |
Mar
(6) |
Apr
(5) |
May
(1) |
Jun
(2) |
Jul
(2) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
|
Dec
(4) |
2019 |
Jan
(2) |
Feb
(2) |
Mar
(3) |
Apr
(4) |
May
|
Jun
(4) |
Jul
(9) |
Aug
(2) |
Sep
|
Oct
(4) |
Nov
(1) |
Dec
(7) |
2020 |
Jan
(2) |
Feb
(6) |
Mar
(9) |
Apr
(1) |
May
(1) |
Jun
(15) |
Jul
(1) |
Aug
(1) |
Sep
(2) |
Oct
(6) |
Nov
(3) |
Dec
(5) |
2021 |
Jan
(3) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
(3) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
(1) |
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(6) |
2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Ronald B. <rb...@rb...> - 2021-02-10 06:27:45
|
Hi all, it is a pleasure to announce the availability of HtmlUnit 2.47.1. The full list of changes can be found in [1] Thanks to all the contributors. Happy Testing/Scraping! The HtmlUnit team [1] http://htmlunit.sourceforge.net/changes-report.html#a2.47.1 |
From: Gary K. <gar...@po...> - 2021-01-30 09:08:15
|
I am using htmlunit-2.27 and JQuery DataTables-1.10.11. Please see the question in StackOverflow: https://stackoverflow.com/questions/42538839/how-do-i-click-on-a-row-in-a-jquery-datatable-using-htmlunit Thanks, Gary -- Gary Kephart Facebook: gary.kephart Twitter: @garykephart "The penalty that good men pay for not being interested in politics is to be governed by lesser men." -- Plato. |
From: Vasudevan C. <vco...@gm...> - 2021-01-08 19:10:11
|
All, One company has hosted my application (HTMLUnit) on AWS cloud on a trial. My application starts with the URL "https://www.naukri.com/recruit/login " and the response was 403 Forbidden being served by AkamaiGHost. When I run FF browser on the same machine where my HTMLUnit app is running and specifying the above URL, I am getting the login page from the server. Even after setting the HTTP Request Headers of the browser in my application but still AkamaiGHost was not throwing 403 status code. I am copying below the HTTP Request Headers of FF browser and HTMLUnit for reference. FF Browser ---------------- GET /recruit/login HTTP/1.1 Host www.naukri.com User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language en-US,en;q=0.5 Accept-Encoding gzip, deflate, br Connection keep-alive Upgrade-Insecure-Requests 1 HTMLUnit APP -------------------- GET /recruit/login HTTP/1.1 Host www.naukri.com User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language en-US,en;q=0.5 Accept-Encoding gzip, deflate Connection Keep-Alive Upgrade-Insecure-Requests 1 Can anyone throw some pointers on this different behaviour? Looking forward to your reply Regards Vasu |
From: Ronald B. <rb...@rb...> - 2021-01-06 18:12:41
|
Hi all, it is a pleasure to announce the availability of HtmlUnit 2.46.0. The full list of changes can be found in [1] Thanks to all the contributors. Happy Testing/Scraping! The HtmlUnit team [1] http://htmlunit.sourceforge.net/changes-report.html#a2.46.0 |
From: Ronald B. <rb...@rb...> - 2020-12-24 08:48:12
|
None at the moment, for http/2 we have to switch to version 5 of the HttpClient. This is on my list for Q1 2021. Am 23. Dezember 2020 21:49:48 MEZ schrieb Vasudevan Comandur <vco...@gm...>: >Hi, > > Is there a support for HTTP/2 in HTMLUnit?. If so, which version >supports that. > > I appreciate your answer in advance. > >REgards > Vasu > >On Mon, 21 Dec 2020 at 20:08, Vasudevan Comandur <vco...@gm...> >wrote: > >> Hi, >> >> Wanted to know which version of HTMLUnit/httpclient combination >> supports http/2 protocol. >> >> The current code works if I drive the request through WebProxy >> (Charles). >> >> When I disable the webproxy (Charles), the server is throwing a >screen >> to >> check the browser settings. >> >> Looking forward to hearing from you. >> >> Regards >> Vasu >> -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet. |
From: Vasudevan C. <vco...@gm...> - 2020-12-23 20:50:22
|
Hi, Is there a support for HTTP/2 in HTMLUnit?. If so, which version supports that. I appreciate your answer in advance. REgards Vasu On Mon, 21 Dec 2020 at 20:08, Vasudevan Comandur <vco...@gm...> wrote: > Hi, > > Wanted to know which version of HTMLUnit/httpclient combination > supports http/2 protocol. > > The current code works if I drive the request through WebProxy > (Charles). > > When I disable the webproxy (Charles), the server is throwing a screen > to > check the browser settings. > > Looking forward to hearing from you. > > Regards > Vasu > |
From: Vasudevan C. <vco...@gm...> - 2020-12-21 14:39:20
|
Hi, Wanted to know which version of HTMLUnit/httpclient combination supports http/2 protocol. The current code works if I drive the request through WebProxy (Charles). When I disable the webproxy (Charles), the server is throwing a screen to check the browser settings. Looking forward to hearing from you. Regards Vasu |
From: Ronald B. <rb...@rb...> - 2020-12-09 06:40:08
|
Hi Lora, can you please open an issue on github for this. Thanks RBRi Am 9. Dezember 2020 04:55:08 MEZ schrieb Lora Powell <lrp...@us...>: >I am wondering about the compatibility with my dojo javascript code for > >charting. I thought that HtmlUnit was compatible, but I am getting the > >following errors when running the html with a simple constructor to try > >modifying the typescript: > >url: >http://9.5.57.191:2004/SystemiNavigator/com/ibm/as400/pt/dojoChart/HelloWorldScriptLauncher.html?packageId=IBM_CS&perspectiveId=P_SYS_SUMMARY_CPU_WAITS_OVERVIEW&perspectiveName=CPU > >Utilization and Waits >Overview&collectionName=TEST1&collectionLib=PDI&collectionType=Collection > >Services File Based Collection&fileLevel=54&startTime=Aug 31, 2020 >3:22:09 >PM&endTime=Sep 1, 2020 12:00:11 AM&systemName=A405BP4 >&release=V7R4M0&collectionFormat=*CSFILE&basePerspId= >Exception in thread "main" ======= EXCEPTION START ======== >Exception >class=[net.sourceforge.htmlunit.corejs.javascript.WrappedException] >com.gargoylesoftware.htmlunit.ScriptException: Wrapped >com.gargoylesoftware.htmlunit.ScriptException: Wrapped >com.gargoylesoftware.htmlunit.ScriptException: TypeError: Method >"stack" >called on incompatible object. ( >http://9.5.57.191:2004/auiruntime8106/dojo/dojo/dojo.js#10796) > at >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run( >JavaScriptEngine.java:949) > at net.sourceforge.htmlunit.corejs.javascript.Context.call( >Context.java:619) > at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call( >ContextFactory.java:537) > at >com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.callSecured( >HtmlUnitContextFactory.java:353) > at >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute( >JavaScriptEngine.java:829) > at >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute( >JavaScriptEngine.java:805) > at >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute( >JavaScriptEngine.java:796) > at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScript( >HtmlPage.java:943) > at >com.gargoylesoftware.htmlunit.html.ScriptElementSupport.executeInlineScriptIfNeeded( >ScriptElementSupport.java:364) > at >com.gargoylesoftware.htmlunit.html.ScriptElementSupport.executeScriptIfNeeded( >ScriptElementSupport.java:213) > at >com.gargoylesoftware.htmlunit.html.ScriptElementSupport$1.execute( >ScriptElementSupport.java:106) > at >com.gargoylesoftware.htmlunit.html.ScriptElementSupport.onAllChildrenAddedToPage( >ScriptElementSupport.java:129) > at >com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage( >HtmlScript.java:190) > at >com.gargoylesoftware.htmlunit.html.parser.neko.HtmlUnitNekoDOMBuilder.endElement( >HtmlUnitNekoDOMBuilder.java:552) > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown >Source) > at >com.gargoylesoftware.htmlunit.html.parser.neko.HtmlUnitNekoDOMBuilder.endElement( >HtmlUnitNekoDOMBuilder.java:504) > at >net.sourceforge.htmlunit.cyberneko.HTMLTagBalancer.callEndElement( >HTMLTagBalancer.java:1215) > at net.sourceforge.htmlunit.cyberneko.HTMLTagBalancer.endElement( >HTMLTagBalancer.java:1155) > at >net.sourceforge.htmlunit.cyberneko.filters.DefaultFilter.endElement( >DefaultFilter.java:219) > at >net.sourceforge.htmlunit.cyberneko.filters.NamespaceBinder.endElement( >NamespaceBinder.java:312) > at >net.sourceforge.htmlunit.cyberneko.HTMLScanner$ContentScanner.scanEndElement( >HTMLScanner.java:3189) > at >net.sourceforge.htmlunit.cyberneko.HTMLScanner$ContentScanner.scan( >HTMLScanner.java:2114) > at net.sourceforge.htmlunit.cyberneko.HTMLScanner.scanDocument( >HTMLScanner.java:937) > at net.sourceforge.htmlunit.cyberneko.HTMLConfiguration.parse( >HTMLConfiguration.java:443) > at net.sourceforge.htmlunit.cyberneko.HTMLConfiguration.parse( >HTMLConfiguration.java:394) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at >com.gargoylesoftware.htmlunit.html.parser.neko.HtmlUnitNekoDOMBuilder.parse( >HtmlUnitNekoDOMBuilder.java:752) > at >com.gargoylesoftware.htmlunit.html.parser.neko.HtmlUnitNekoHtmlParser.parse( >HtmlUnitNekoHtmlParser.java:208) > at >com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage( >DefaultPageCreator.java:283) > at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage( >DefaultPageCreator.java:163) > at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto( >WebClient.java:634) > at com.gargoylesoftware.htmlunit.WebClient.getPage( >WebClient.java:456) > at com.gargoylesoftware.htmlunit.WebClient.getPage( >WebClient.java:368) > at com.gargoylesoftware.htmlunit.WebClient.getPage( >WebClient.java:525) > at com.gargoylesoftware.htmlunit.WebClient.getPage( >WebClient.java:506) > at com.ibm.PDIScript.runDojoChart.export(runDojoChart.java:448) > at com.ibm.PDIScript.runDojoChart.main(runDojoChart.java:154) >Caused by: net.sourceforge.htmlunit.corejs.javascript.WrappedException: > >Wrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped >com.gargoylesoftware.htmlunit.ScriptException: TypeError: Method >"stack" >called on incompatible object. ( >http://9.5.57.191:2004/auiruntime8106/dojo/dojo/dojo.js#10796) > at >net.sourceforge.htmlunit.corejs.javascript.Context.throwAsScriptRuntimeEx( >Context.java:1964) > at >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions( >JavaScriptEngine.java:1002) > at >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run( >JavaScriptEngine.java:944) > ... 36 more >Caused by: com.gargoylesoftware.htmlunit.ScriptException: Wrapped >com.gargoylesoftware.htmlunit.ScriptException: TypeError: Method >"stack" >called on incompatible object. ( >http://9.5.57.191:2004/auiruntime8106/dojo/dojo/dojo.js#10796) > at >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run( >JavaScriptEngine.java:949) > at net.sourceforge.htmlunit.corejs.javascript.Context.call( >Context.java:619) > at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call( >ContextFactory.java:537) > at >com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.callSecured( >HtmlUnitContextFactory.java:353) > at >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction( >JavaScriptEngine.java:878) > at >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction( >JavaScriptEngine.java:850) > at >com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunction( >HtmlPage.java:2609) > at >com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunction( >HtmlPage.java:2602) > at >com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeEventListeners( >EventListenersContainer.java:342) > at >com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeAtTargetListeners( >EventListenersContainer.java:379) > at >com.gargoylesoftware.htmlunit.javascript.host.event.EventTarget.executeEventLocally( >EventTarget.java:102) > at >com.gargoylesoftware.htmlunit.html.ScriptElementSupport.executeEvent( >ScriptElementSupport.java:320) > at >com.gargoylesoftware.htmlunit.html.ScriptElementSupport.executeScriptIfNeeded( >ScriptElementSupport.java:186) > at >com.gargoylesoftware.htmlunit.html.ScriptElementSupport$1.execute( >ScriptElementSupport.java:106) > at >com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions( >JavaScriptEngine.java:997) > ... 37 more > >Line 448 has the call to WebClient: > > url = " >http://9.5.57.191:2004/SystemiNavigator/com/ibm/as400/pt/dojoChart/HelloWorldScriptLauncher.html?packageId=IBM_CS&perspectiveId=P_SYS_SUMMARY_CPU_WAITS_OVERVIEW&perspectiveName=CPU > >Utilization and Waits >Overview&collectionName=TEST1&collectionLib=PDI&collectionType=Collection > >Services File Based Collection&fileLevel=54&startTime=Aug 31, 2020 >3:22:09 >PM&endTime=Sep 1, 2020 12:00:11 AM&systemName=A405BP4 >&release=V7R4M0&collectionFormat=*CSFILE&basePerspId="; > > > try (final WebClient webClient = new >WebClient(BrowserVersion.CHROME)) { > java.util.logging.Logger.getLogger( >"com.gargoylesoftware").setLevel(java.util.logging.Level.OFF); > > webClient.getCache().clear(); > webClient.getOptions().setCssEnabled(true >); > webClient >.getOptions().setJavaScriptEnabled(true); > > webClient.setAjaxController(new >NicelyResynchronizingAjaxController()); > webClient >.getOptions().setThrowExceptionOnScriptError(true); > > Page page = webClient.getPage(url); // >line 448 > > >Lora Powell > >IBM i Systems and Technology Group >IBM Navigator for i - Performance on the web > >Dept GJC Location 15-2/B206 >Email: lrp...@us... >Phone office: 507-253-4191 cell: 507-261-0325 > >Do the next right thing. -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet. |
From: Lora P. <lrp...@us...> - 2020-12-09 03:56:39
|
I am wondering about the compatibility with my dojo javascript code for charting. I thought that HtmlUnit was compatible, but I am getting the following errors when running the html with a simple constructor to try modifying the typescript: url: http://9.5.57.191:2004/SystemiNavigator/com/ibm/as400/pt/dojoChart/HelloWorldScriptLauncher.html?packageId=IBM_CS&perspectiveId=P_SYS_SUMMARY_CPU_WAITS_OVERVIEW&perspectiveName=CPU Utilization and Waits Overview&collectionName=TEST1&collectionLib=PDI&collectionType=Collection Services File Based Collection&fileLevel=54&startTime=Aug 31, 2020 3:22:09 PM&endTime=Sep 1, 2020 12:00:11 AM&systemName=A405BP4 &release=V7R4M0&collectionFormat=*CSFILE&basePerspId= Exception in thread "main" ======= EXCEPTION START ======== Exception class=[net.sourceforge.htmlunit.corejs.javascript.WrappedException] com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Method "stack" called on incompatible object. ( http://9.5.57.191:2004/auiruntime8106/dojo/dojo/dojo.js#10796) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run( JavaScriptEngine.java:949) at net.sourceforge.htmlunit.corejs.javascript.Context.call( Context.java:619) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call( ContextFactory.java:537) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.callSecured( HtmlUnitContextFactory.java:353) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute( JavaScriptEngine.java:829) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute( JavaScriptEngine.java:805) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute( JavaScriptEngine.java:796) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScript( HtmlPage.java:943) at com.gargoylesoftware.htmlunit.html.ScriptElementSupport.executeInlineScriptIfNeeded( ScriptElementSupport.java:364) at com.gargoylesoftware.htmlunit.html.ScriptElementSupport.executeScriptIfNeeded( ScriptElementSupport.java:213) at com.gargoylesoftware.htmlunit.html.ScriptElementSupport$1.execute( ScriptElementSupport.java:106) at com.gargoylesoftware.htmlunit.html.ScriptElementSupport.onAllChildrenAddedToPage( ScriptElementSupport.java:129) at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage( HtmlScript.java:190) at com.gargoylesoftware.htmlunit.html.parser.neko.HtmlUnitNekoDOMBuilder.endElement( HtmlUnitNekoDOMBuilder.java:552) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at com.gargoylesoftware.htmlunit.html.parser.neko.HtmlUnitNekoDOMBuilder.endElement( HtmlUnitNekoDOMBuilder.java:504) at net.sourceforge.htmlunit.cyberneko.HTMLTagBalancer.callEndElement( HTMLTagBalancer.java:1215) at net.sourceforge.htmlunit.cyberneko.HTMLTagBalancer.endElement( HTMLTagBalancer.java:1155) at net.sourceforge.htmlunit.cyberneko.filters.DefaultFilter.endElement( DefaultFilter.java:219) at net.sourceforge.htmlunit.cyberneko.filters.NamespaceBinder.endElement( NamespaceBinder.java:312) at net.sourceforge.htmlunit.cyberneko.HTMLScanner$ContentScanner.scanEndElement( HTMLScanner.java:3189) at net.sourceforge.htmlunit.cyberneko.HTMLScanner$ContentScanner.scan( HTMLScanner.java:2114) at net.sourceforge.htmlunit.cyberneko.HTMLScanner.scanDocument( HTMLScanner.java:937) at net.sourceforge.htmlunit.cyberneko.HTMLConfiguration.parse( HTMLConfiguration.java:443) at net.sourceforge.htmlunit.cyberneko.HTMLConfiguration.parse( HTMLConfiguration.java:394) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.parser.neko.HtmlUnitNekoDOMBuilder.parse( HtmlUnitNekoDOMBuilder.java:752) at com.gargoylesoftware.htmlunit.html.parser.neko.HtmlUnitNekoHtmlParser.parse( HtmlUnitNekoHtmlParser.java:208) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage( DefaultPageCreator.java:283) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage( DefaultPageCreator.java:163) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto( WebClient.java:634) at com.gargoylesoftware.htmlunit.WebClient.getPage( WebClient.java:456) at com.gargoylesoftware.htmlunit.WebClient.getPage( WebClient.java:368) at com.gargoylesoftware.htmlunit.WebClient.getPage( WebClient.java:525) at com.gargoylesoftware.htmlunit.WebClient.getPage( WebClient.java:506) at com.ibm.PDIScript.runDojoChart.export(runDojoChart.java:448) at com.ibm.PDIScript.runDojoChart.main(runDojoChart.java:154) Caused by: net.sourceforge.htmlunit.corejs.javascript.WrappedException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Method "stack" called on incompatible object. ( http://9.5.57.191:2004/auiruntime8106/dojo/dojo/dojo.js#10796) at net.sourceforge.htmlunit.corejs.javascript.Context.throwAsScriptRuntimeEx( Context.java:1964) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions( JavaScriptEngine.java:1002) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run( JavaScriptEngine.java:944) ... 36 more Caused by: com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Method "stack" called on incompatible object. ( http://9.5.57.191:2004/auiruntime8106/dojo/dojo/dojo.js#10796) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run( JavaScriptEngine.java:949) at net.sourceforge.htmlunit.corejs.javascript.Context.call( Context.java:619) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call( ContextFactory.java:537) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.callSecured( HtmlUnitContextFactory.java:353) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction( JavaScriptEngine.java:878) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction( JavaScriptEngine.java:850) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunction( HtmlPage.java:2609) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunction( HtmlPage.java:2602) at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeEventListeners( EventListenersContainer.java:342) at com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeAtTargetListeners( EventListenersContainer.java:379) at com.gargoylesoftware.htmlunit.javascript.host.event.EventTarget.executeEventLocally( EventTarget.java:102) at com.gargoylesoftware.htmlunit.html.ScriptElementSupport.executeEvent( ScriptElementSupport.java:320) at com.gargoylesoftware.htmlunit.html.ScriptElementSupport.executeScriptIfNeeded( ScriptElementSupport.java:186) at com.gargoylesoftware.htmlunit.html.ScriptElementSupport$1.execute( ScriptElementSupport.java:106) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions( JavaScriptEngine.java:997) ... 37 more Line 448 has the call to WebClient: url = " http://9.5.57.191:2004/SystemiNavigator/com/ibm/as400/pt/dojoChart/HelloWorldScriptLauncher.html?packageId=IBM_CS&perspectiveId=P_SYS_SUMMARY_CPU_WAITS_OVERVIEW&perspectiveName=CPU Utilization and Waits Overview&collectionName=TEST1&collectionLib=PDI&collectionType=Collection Services File Based Collection&fileLevel=54&startTime=Aug 31, 2020 3:22:09 PM&endTime=Sep 1, 2020 12:00:11 AM&systemName=A405BP4 &release=V7R4M0&collectionFormat=*CSFILE&basePerspId="; try (final WebClient webClient = new WebClient(BrowserVersion.CHROME)) { java.util.logging.Logger.getLogger( "com.gargoylesoftware").setLevel(java.util.logging.Level.OFF); webClient.getCache().clear(); webClient.getOptions().setCssEnabled(true ); webClient .getOptions().setJavaScriptEnabled(true); webClient.setAjaxController(new NicelyResynchronizingAjaxController()); webClient .getOptions().setThrowExceptionOnScriptError(true); Page page = webClient.getPage(url); // line 448 Lora Powell IBM i Systems and Technology Group IBM Navigator for i - Performance on the web Dept GJC Location 15-2/B206 Email: lrp...@us... Phone office: 507-253-4191 cell: 507-261-0325 Do the next right thing. |
From: Ronald B. <rb...@rb...> - 2020-11-19 17:12:39
|
And please add the code of the set Cookie function Am 18. November 2020 22:39:29 MEZ schrieb Vasudevan Comandur <vco...@gm...>: >Hi, > > I had enabled the webClient to execute JS. > The HTML page received from the server had the below line to set the >cookie. > setCookie("JDSessionID",'323163314240953486',now,path, "jobdiva.com"); > > The next request from webclient does not have the above cookie set. Is >there > any issue with the above line? > > Looking forward to hearing from you. > >Regards > Vasu -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet. |
From: Ronald B. <rb...@rb...> - 2020-11-19 17:03:53
|
Please upen an issue for this and add the values for now 😉 and path Am 18. November 2020 22:39:29 MEZ schrieb Vasudevan Comandur <vco...@gm...>: >Hi, > > I had enabled the webClient to execute JS. > The HTML page received from the server had the below line to set the >cookie. > setCookie("JDSessionID",'323163314240953486',now,path, "jobdiva.com"); > > The next request from webclient does not have the above cookie set. Is >there > any issue with the above line? > > Looking forward to hearing from you. > >Regards > Vasu -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet. |
From: Vasudevan C. <vco...@gm...> - 2020-11-18 21:40:26
|
Hi, I had enabled the webClient to execute JS. The HTML page received from the server had the below line to set the cookie. setCookie("JDSessionID",'323163314240953486',now,path, "jobdiva.com"); The next request from webclient does not have the above cookie set. Is there any issue with the above line? Looking forward to hearing from you. Regards Vasu |
From: Ronald B. <rb...@rb...> - 2020-10-26 10:16:18
|
Hi Chander, this is a know problem. Background: The CSS parser used by HtmlUnit is implemented based on the JavaCC parser generator. Because of the way JavaCC works, the (generated) parser is a really huge class file (containing huge methods) nearly at the limits of the JVM class byte code. On the other hand Jacoco instruments the byte code (adds more operations) to keep track of the called methods. This is done with a more or less poor approach - without taking the limits of the JVM in mind. As a result the instrumented bytecode is no longer loadable. For your tests i suggest to exclude the whole HtmlUnit CssParser (and maybe HtmlUnit itself) from Jacoco instrumentation. I guess you like to check the code coverage of your classes and not for HtmlUnit oder the CssParser. Thanks for using HtmlUnit RBRi On Sun, 25 Oct 2020 22:14:18 -0500 Chander wrote: > >Hi group, >When I run the unit tests with htmlunit and maven pom has jacaco plugin as >dependency I get the following error. The unit tests don't fail but the >console displays the following error.. How do I prevent this error from >happening? > >Caused by: >org.jacoco.agent.rt.internal_43f5073.asm.MethodTooLargeException: Method >too large: >com/gargoylesoftware/htmlunit/javascript/host/css/StyleAttributes$Definition.<clinit> >()V >at >org.jacoco.agent.rt.internal_43f5073.asm.MethodWriter.computeMethodInfoSize(MethodWriter.java:2087) >at >org.jacoco.agent.rt.internal_43f5073.asm.ClassWriter.toByteArray(ClassWriter.java:447) >at >org.jacoco.agent.rt.internal_43f5073.core.instr.Instrumenter.instrument(Instrumenter.java:90) >at >org.jacoco.agent.rt.internal_43f5073.core.instr.Instrumenter.instrument(Instrumenter.java:107) >.... 100 more >java.lang.instrument.IllegalClassFormatException: Error while instrumenting >com/gargoylesoftware/css/parser/javacc/CSS3ParserTokenManager. > >Thank You >Chander > > > >----< Inline text [text-plain-04.txt] >------------------ > > > > >----< Inline text [text-plain-05.txt] >------------------ > >_______________________________________________ >Htmlunit-user mailing list >Htm...@li... >https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > |
From: Chander <bl...@gm...> - 2020-10-26 03:14:40
|
Hi group, When I run the unit tests with htmlunit and maven pom has jacaco plugin as dependency I get the following error. The unit tests don't fail but the console displays the following error.. How do I prevent this error from happening? Caused by: org.jacoco.agent.rt.internal_43f5073.asm.MethodTooLargeException: Method too large: com/gargoylesoftware/htmlunit/javascript/host/css/StyleAttributes$Definition.<clinit> ()V at org.jacoco.agent.rt.internal_43f5073.asm.MethodWriter.computeMethodInfoSize(MethodWriter.java:2087) at org.jacoco.agent.rt.internal_43f5073.asm.ClassWriter.toByteArray(ClassWriter.java:447) at org.jacoco.agent.rt.internal_43f5073.core.instr.Instrumenter.instrument(Instrumenter.java:90) at org.jacoco.agent.rt.internal_43f5073.core.instr.Instrumenter.instrument(Instrumenter.java:107) ... 100 more java.lang.instrument.IllegalClassFormatException: Error while instrumenting com/gargoylesoftware/css/parser/javacc/CSS3ParserTokenManager. Thank You Chander |
From: Guilherme C. H. <gu...@su...> - 2020-10-25 10:28:00
|
Hi, Debugging the site on firebug i found that when you click the "pagina 2" link, the site is reloaded via javascript & json. So i tried to get the HtmlAnchor and click on it, using this: List<HtmlAnchor> proximaPagina = page.getByXPath( "//a[contains(@class, 'js-change-page')]"); HtmlAnchor a = nextPage.get(nextPage.size()-1); page = a.click(false,false,false,true,true,false); However, the same page is returned. Shouldn't the click work in this case? thanks guich Em 24/10/2020 08:17, Guilherme Campos Hazan escreveu: > Hi, > > I'm trying to navigate in the pages of a site. I can successfully > download the first page, but when i call the second page (and on), > WebClient brings me always the first page. I think that the problem is > that this site loads the second page without reloading the page. > > This is the code: > > java.util.logging.Logger.getLogger("com.gargoylesoftware.htmlunit").setLevel(Level.OFF); > > java.util.logging.Logger.getLogger("org.apache.commons.httpclient").setLevel(Level.OFF); > > System.setProperty("org.apache.commons.logging.Log", > "org.apache.commons.logging.impl.NoOpLog"); > try (WebClient webClient = new WebClient(BrowserVersion.CHROME)) > { > String surl = > "https://www.vivareal.com.br/venda/rj/rio-de-janeiro/zona-sul/copacabana/imovel-comercial_comercial/?pagina=2"; > webClient.getOptions().setThrowExceptionOnScriptError(false); > HtmlPage page = loadPage((HtmlPage)webClient.getPage(surl)); > System.out.println(page.asXml(); > } > > private HtmlPage loadPage(HtmlPage page) throws Exception > { > String xml; > long iniT = System.currentTimeMillis(); > while (!(xml=page.asXml()).contains("Explore também")/* || > xml.length() < 1024*1024*/) > try {Thread.sleep(100);} catch (Exception e) {} > long endT = System.currentTimeMillis(); > System.out.println(ind+" arrived "+page.getTitleText()+" with > "+xml.length()+" in "+(endT-iniT)+" ms"); > return page; > } > > If you paste the surl above in a real browser, you will see that it > first loads some data, then without refreshing the page, it loads more > data on top of that one. > > Any help is greatly appreciated. > > thanks > > guich > > > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: Guilherme C. H. <gu...@su...> - 2020-10-24 11:36:59
|
Hi, I'm trying to navigate in the pages of a site. I can successfully download the first page, but when i call the second page (and on), WebClient brings me always the first page. I think that the problem is that this site loads the second page without reloading the page. This is the code: java.util.logging.Logger.getLogger("com.gargoylesoftware.htmlunit").setLevel(Level.OFF); java.util.logging.Logger.getLogger("org.apache.commons.httpclient").setLevel(Level.OFF); System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.NoOpLog"); try (WebClient webClient = new WebClient(BrowserVersion.CHROME)) { String surl = "https://www.vivareal.com.br/venda/rj/rio-de-janeiro/zona-sul/copacabana/imovel-comercial_comercial/?pagina=2"; webClient.getOptions().setThrowExceptionOnScriptError(false); HtmlPage page = loadPage((HtmlPage)webClient.getPage(surl)); System.out.println(page.asXml(); } private HtmlPage loadPage(HtmlPage page) throws Exception { String xml; long iniT = System.currentTimeMillis(); while (!(xml=page.asXml()).contains("Explore também")/* || xml.length() < 1024*1024*/) try {Thread.sleep(100);} catch (Exception e) {} long endT = System.currentTimeMillis(); System.out.println(ind+" arrived "+page.getTitleText()+" with "+xml.length()+" in "+(endT-iniT)+" ms"); return page; } If you paste the surl above in a real browser, you will see that it first loads some data, then without refreshing the page, it loads more data on top of that one. Any help is greatly appreciated. thanks guich |
From: Ronald B. <rb...@rb...> - 2020-10-21 17:48:33
|
Please open an issue on github. Am 21. Oktober 2020 11:43:20 MESZ schrieb Tommaso Morello <tom...@gm...>: >Hi, >I have an application that scrapes an external website not in my >control ( >https://www.antonioli.eu/en/JP). Everything went good for months. The >website sometimes generates errors in some pages: "too much redirects", >tried to follow the suggestions found in this newsletter but not always >work. >The problem is that, after the migration to v2.44 (from v2.40) I cannot >even access to the main page, I got always the same error message: >"too >much redirects" > >Here's is how I create the webclient: > > webClient.getCookieManager().setCookiesEnabled(true); > webClient.getOptions().setJavaScriptEnabled(true); > webClient.getOptions().setTimeout(60000); > webClient.getOptions().setCssEnabled(true); > webClient.getOptions().setThrowExceptionOnScriptError(false); > webClient.getOptions().setPrintContentOnFailingStatusCode(false); > webClient.setCssErrorHandler(new SilentCssErrorHandler()); > webClient.getOptions().setPrintContentOnFailingStatusCode(false); > webClient.getOptions().setPopupBlockerEnabled(true); > webClient.getOptions().setThrowExceptionOnFailingStatusCode(false); > webClient.getCache().setMaxSize(0); > webClient.getOptions().setRedirectEnabled(false); > >any idea how to fix this? >Thank you. >Regards. -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet. |
From: Tommaso M. <tom...@gm...> - 2020-10-21 09:43:49
|
Hi, I have an application that scrapes an external website not in my control ( https://www.antonioli.eu/en/JP). Everything went good for months. The website sometimes generates errors in some pages: "too much redirects", tried to follow the suggestions found in this newsletter but not always work. The problem is that, after the migration to v2.44 (from v2.40) I cannot even access to the main page, I got always the same error message: "too much redirects" Here's is how I create the webclient: webClient.getCookieManager().setCookiesEnabled(true); webClient.getOptions().setJavaScriptEnabled(true); webClient.getOptions().setTimeout(60000); webClient.getOptions().setCssEnabled(true); webClient.getOptions().setThrowExceptionOnScriptError(false); webClient.getOptions().setPrintContentOnFailingStatusCode(false); webClient.setCssErrorHandler(new SilentCssErrorHandler()); webClient.getOptions().setPrintContentOnFailingStatusCode(false); webClient.getOptions().setPopupBlockerEnabled(true); webClient.getOptions().setThrowExceptionOnFailingStatusCode(false); webClient.getCache().setMaxSize(0); webClient.getOptions().setRedirectEnabled(false); any idea how to fix this? Thank you. Regards. |
From: Ronald B. <rb...@rb...> - 2020-09-24 20:20:24
|
This is only a warning informs you about a misuse of the script tag by your application. Can you please open an issue for htmlunit adding the script tag and I will have a closer look at this. Am 24. September 2020 21:08:26 MESZ schrieb Luis Miguel Ospina <lui...@ze...>: >Hello. > >I'm new to htmlunit world, I have a basic question and is, does >htmlunit >support websites that load data from a json file and fill that data in >the >main html page? > >Doing a simple test I see this log: > >*Script is not JavaScript (type: application/json, language: ). >Skipping >execution.* > >So I suppose this is not possible to do with Selenium htmlunit driver, >can >someone please confirm or if it is possible how to do that? > >Thanks! > >-- > >* >* >*The information contained in this e-mail may be confidential. It has >been sent for the sole use of the intended recipient(s). If the reader >of >this message is not an intended recipient, you are hereby notified that >any >unauthorized review, use, disclosure, dissemination, distribution or >copying of this communication, or any of its contents, is strictly >prohibited. If you have received it by mistake please let us know by >e-mail >immediately and delete it from your system. Many thanks.* >_ >Este mensaje y >sus archivos adjuntos van dirigidos exclusivamente a su destinatario >pudiendo contener información confidencial sometida a secreto >profesional. >No está permitida su reproducción o distribución sin la autorización >expresa de ZEMOGA S.A.S. Si usted no es el destinatario final por favor > >elimínelo e infórmenos por esta vía. De conformidad con lo previsto en >la >Ley Estatutaria 1581 de 2012, “Por la cual se dictan disposiciones >generales para la protección de datos personales”, y con el Decreto >1377 de >2013, “Por el cual se reglamenta parcialmente la Ley 1581 de 2012”, el >titular presta su consentimiento para que sus datos, facilitados >voluntariamente, pasen a formar parte de una base de datos, cuyo >responsable es Zemoga S.A.S, a fin de mantener relación comercial o >laboral. > > >Puede usted ejercitar los derechos de >acceso, corrección, supresión, revocación o reclamo por infracción >sobre >sus datos, mediante escrito dirigido a Zemoga S.A.S a la dirección de >correo electrónico hr...@ze... <http://hr...@ze...>, indicando en >el >asunto, el derecho que desea ejercitar; o mediante correspondencia >remitida >a la dirección, *Calle 95 #15-09 piso 4* de la ciudad de Bogotá D.C._ >_ >_ >_ > >_ -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet. |
From: Luis M. O. <lui...@ze...> - 2020-09-24 19:32:25
|
Hello. I'm new to htmlunit world, I have a basic question and is, does htmlunit support websites that load data from a json file and fill that data in the main html page? Doing a simple test I see this log: *Script is not JavaScript (type: application/json, language: ). Skipping execution.* So I suppose this is not possible to do with Selenium htmlunit driver, can someone please confirm or if it is possible how to do that? Thanks! -- * * *The information contained in this e-mail may be confidential. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution or copying of this communication, or any of its contents, is strictly prohibited. If you have received it by mistake please let us know by e-mail immediately and delete it from your system. Many thanks.* _ Este mensaje y sus archivos adjuntos van dirigidos exclusivamente a su destinatario pudiendo contener información confidencial sometida a secreto profesional. No está permitida su reproducción o distribución sin la autorización expresa de ZEMOGA S.A.S. Si usted no es el destinatario final por favor elimínelo e infórmenos por esta vía. De conformidad con lo previsto en la Ley Estatutaria 1581 de 2012, “Por la cual se dictan disposiciones generales para la protección de datos personales”, y con el Decreto 1377 de 2013, “Por el cual se reglamenta parcialmente la Ley 1581 de 2012”, el titular presta su consentimiento para que sus datos, facilitados voluntariamente, pasen a formar parte de una base de datos, cuyo responsable es Zemoga S.A.S, a fin de mantener relación comercial o laboral. Puede usted ejercitar los derechos de acceso, corrección, supresión, revocación o reclamo por infracción sobre sus datos, mediante escrito dirigido a Zemoga S.A.S a la dirección de correo electrónico hr...@ze... <http://hr...@ze...>, indicando en el asunto, el derecho que desea ejercitar; o mediante correspondencia remitida a la dirección, *Calle 95 #15-09 piso 4* de la ciudad de Bogotá D.C._ _ _ _ _ |
From: Ronald B. <rb...@rb...> - 2020-08-09 16:07:20
|
Hi all, it is a pleasure to announce the availability of HtmlUnit 2.43.0. The main enhancements are: - again many fixes in Rhino - Chrome 84 - Firefox 79 - Edge added - FF60 removed - the usual bunch of fixes The full list of changes can be found in [1] Thanks to all the contributors. Happy Testing/Scraping! The HtmlUnit team [1] http://htmlunit.sourceforge.net/changes-report.html#a2.43.0 |
From: Ronald B. <rb...@rb...> - 2020-07-12 08:28:40
|
Hi all, it is a pleasure to announce the availability of HtmlUnit 2.42.0. The main enhancements are: - again many fixes in Rhino - the usual bunch of fixes The full list of changes can be found in [1] Thanks to all the contributors. Happy Testing/Scraping! The HtmlUnit team [1] http://htmlunit.sourceforge.net/changes-report.html#a2.42.0 |
From: Tommaso M. <tom...@gm...> - 2020-06-12 12:59:53
|
Figured it out: eclipse was using the 64bit JVM, in the system Path was set the 32bit version. Thank you for the support. Kind regards. On Fri, Jun 12, 2020 at 8:49 AM Tommaso Morello <tom...@gm...> wrote: > Hi, > thank you for your answer. Nothing more than (IE browser): > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'AcroPDF.PDF'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'Adodb.Stream'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'AgControl.AgControl'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'DevalVRXCtrl.DevalVRXCtrl.1'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'MacromediaFlashPaper.MacromediaFlashPaper'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'PDF.PdfCtrl'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'QuickTime.QuickTime'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'QuickTimeCheckObject.QuickTimeCheck.1'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'RealPlayer'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)'.giu 10, 2020 9:11:25 > AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'RealVideo.RealVideo(tm) ActiveX Control (32-bit)'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'Scripting.Dictionary'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'SWCtl.SWCtl'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'Shell.UIHelper'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'ShockwaveFlash.ShockwaveFlash'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'Skype.Detection'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'TDCCtl.TDCCtl'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'WMPlayer.OCX'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'rmocx.RealPlayer G2 Control'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject > jsConstructorWARNING: Automation server can't create object for > 'rmocx.RealPlayer G2 Control.1'.giu 10, 2020 9:11:25 AM > com.gargoylesoftware.htmlunit.javascript.host.canvas.CanvasRenderingContext2D > isPointInPathINFORMATION: CanvasRenderingContext2D.isPointInPath() not yet > implementedgiu 10, 2020 9:11:26 AM > com.akabana.AntonioliWebScraper.AntonioliWebScrapeMain mainSEVERE: An error > occourred: elementName=[*] attributeName=[id] > attributeValue=[new_spree_user]* > > the attribute missing here is the login form. > > > > On Wed, Jun 10, 2020 at 8:44 AM <rb...@rb...> wrote: > >> Am 10. Juni 2020 08:37:14 MESZ schrieb Tommaso Morello < >> tom...@gm...>: >>> >>> Dear Community,first of all, thank you for your work. I developed a >>> simple application in JAVA using the version 2.40, Java 8, Eclipse 2019, >>> windows 7 pc. The application checks some information on an online website, >>> first performs a login action and then goes to the next page. Everything >>> works fine when it run via Eclipse, it is still ok if I generate the >>> executable jar and launch it by the same machine but, I tried to run the >>> executable jar from two other pcs (windows 10 and windows server 2012) and >>> the application fails because the login form element of the login page >>> cannot be found. I was able to install eclipse on one of the pcs (windows >>> 10) and again from Eclipse everything works fine, but the executable jar >>> generated from the new environment on the same windows 10 pc get the same >>> issue. I tried to follow instructions found in the mailing list including >>> all the libraries needed, tried to change the browser version (chrome and >>> IE), tried to select the different options provided by eclipse to generate >>> the executable. >>> Just to understand what is included in the login HtmlPage requested when >>> it fails, I tried to call the method getPageXml as first action and write >>> the result in a local html file, in that point all fail and I get the >>> errors: >>> >>> >>> >>> >>> >>> >>> >>> *INFORMATION: CanvasRenderingContext2D.isPointInPath() not yet >>> implementedgiu 10, 2020 8:34:42 AM >>> com.gargoylesoftware.htmlunit.javascript.background.DefaultJavaScriptExecutor >>> killThreadWARNING: Event loop thread JS executor for >>> com.gargoylesoftware.htmlunit.WebClient@72acb2 still alive at >>> 1591770882648giu 10, 2020 8:34:42 AM >>> com.gargoylesoftware.htmlunit.javascript.background.DefaultJavaScriptExecutor >>> killThreadWARNING: Event loop thread will be stoppedgiu 10, 2020 8:34:42 AM >>> com.akabana.AntonioliWebScraper.AntonioliWebScrapeMain mainSEVERE: An error >>> occourred: null* >>> >>> >>> Do you have any idea about what can cause the issue? >>> Thank you. >>> Kind regards, >>> Tommaso >>> >> >> Any stacktrace? >> > |
From: Tommaso M. <tom...@gm...> - 2020-06-12 06:50:08
|
Hi, thank you for your answer. Nothing more than (IE browser): *giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'AcroPDF.PDF'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'Adodb.Stream'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'AgControl.AgControl'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'DevalVRXCtrl.DevalVRXCtrl.1'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'MacromediaFlashPaper.MacromediaFlashPaper'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'PDF.PdfCtrl'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'QuickTime.QuickTime'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'QuickTimeCheckObject.QuickTimeCheck.1'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'RealPlayer'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'RealVideo.RealVideo(tm) ActiveX Control (32-bit)'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'Scripting.Dictionary'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'SWCtl.SWCtl'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'Shell.UIHelper'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'ShockwaveFlash.ShockwaveFlash'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'Skype.Detection'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'TDCCtl.TDCCtl'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'WMPlayer.OCX'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'rmocx.RealPlayer G2 Control'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructorWARNING: Automation server can't create object for 'rmocx.RealPlayer G2 Control.1'.giu 10, 2020 9:11:25 AM com.gargoylesoftware.htmlunit.javascript.host.canvas.CanvasRenderingContext2D isPointInPathINFORMATION: CanvasRenderingContext2D.isPointInPath() not yet implementedgiu 10, 2020 9:11:26 AM com.akabana.AntonioliWebScraper.AntonioliWebScrapeMain mainSEVERE: An error occourred: elementName=[*] attributeName=[id] attributeValue=[new_spree_user]* the attribute missing here is the login form. On Wed, Jun 10, 2020 at 8:44 AM <rb...@rb...> wrote: > Am 10. Juni 2020 08:37:14 MESZ schrieb Tommaso Morello < > tom...@gm...>: >> >> Dear Community,first of all, thank you for your work. I developed a >> simple application in JAVA using the version 2.40, Java 8, Eclipse 2019, >> windows 7 pc. The application checks some information on an online website, >> first performs a login action and then goes to the next page. Everything >> works fine when it run via Eclipse, it is still ok if I generate the >> executable jar and launch it by the same machine but, I tried to run the >> executable jar from two other pcs (windows 10 and windows server 2012) and >> the application fails because the login form element of the login page >> cannot be found. I was able to install eclipse on one of the pcs (windows >> 10) and again from Eclipse everything works fine, but the executable jar >> generated from the new environment on the same windows 10 pc get the same >> issue. I tried to follow instructions found in the mailing list including >> all the libraries needed, tried to change the browser version (chrome and >> IE), tried to select the different options provided by eclipse to generate >> the executable. >> Just to understand what is included in the login HtmlPage requested when >> it fails, I tried to call the method getPageXml as first action and write >> the result in a local html file, in that point all fail and I get the >> errors: >> >> >> >> >> >> >> >> *INFORMATION: CanvasRenderingContext2D.isPointInPath() not yet >> implementedgiu 10, 2020 8:34:42 AM >> com.gargoylesoftware.htmlunit.javascript.background.DefaultJavaScriptExecutor >> killThreadWARNING: Event loop thread JS executor for >> com.gargoylesoftware.htmlunit.WebClient@72acb2 still alive at >> 1591770882648giu 10, 2020 8:34:42 AM >> com.gargoylesoftware.htmlunit.javascript.background.DefaultJavaScriptExecutor >> killThreadWARNING: Event loop thread will be stoppedgiu 10, 2020 8:34:42 AM >> com.akabana.AntonioliWebScraper.AntonioliWebScrapeMain mainSEVERE: An error >> occourred: null* >> >> >> Do you have any idea about what can cause the issue? >> Thank you. >> Kind regards, >> Tommaso >> > > Any stacktrace? > |
From: <rb...@rb...> - 2020-06-10 06:44:34
|
Am 10. Juni 2020 08:37:14 MESZ schrieb Tommaso Morello <tom...@gm...>: >Dear Community,first of all, thank you for your work. I developed a >simple >application in JAVA using the version 2.40, Java 8, Eclipse 2019, >windows 7 >pc. The application checks some information on an online website, first >performs a login action and then goes to the next page. Everything >works >fine when it run via Eclipse, it is still ok if I generate the >executable >jar and launch it by the same machine but, I tried to run the >executable >jar from two other pcs (windows 10 and windows server 2012) and the >application fails because the login form element of the login page >cannot >be found. I was able to install eclipse on one of the pcs (windows 10) >and >again from Eclipse everything works fine, but the executable jar >generated >from the new environment on the same windows 10 pc get the same issue. >I >tried to follow instructions found in the mailing list including all >the >libraries needed, tried to change the browser version (chrome and IE), >tried to select the different options provided by eclipse to generate >the >executable. >Just to understand what is included in the login HtmlPage requested >when it >fails, I tried to call the method getPageXml as first action and write >the >result in a local html file, in that point all fail and I get the >errors: > > > > > > > >*INFORMATION: CanvasRenderingContext2D.isPointInPath() not yet >implementedgiu 10, 2020 8:34:42 AM >com.gargoylesoftware.htmlunit.javascript.background.DefaultJavaScriptExecutor >killThreadWARNING: Event loop thread JS executor for >com.gargoylesoftware.htmlunit.WebClient@72acb2 still alive at >1591770882648giu 10, 2020 8:34:42 AM >com.gargoylesoftware.htmlunit.javascript.background.DefaultJavaScriptExecutor >killThreadWARNING: Event loop thread will be stoppedgiu 10, 2020 >8:34:42 AM >com.akabana.AntonioliWebScraper.AntonioliWebScrapeMain mainSEVERE: An >error >occourred: null* > > >Do you have any idea about what can cause the issue? >Thank you. >Kind regards, >Tommaso Any stacktrace? |