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: Ahmed A. <asa...@ya...> - 2013-10-17 06:09:44
|
Hi Satya, As always, tiny test cases are very helpful. I am not sure I understand "JavaScript that may be (indirectly) associated with a link" Yours, Ahmed ________________________________ From: Satyanarayana K <kri...@ya...> To: "htm...@li..." <htm...@li...> Sent: Thursday, October 17, 2013 9:05 AM Subject: [Htmlunit-user] Treatment of link with href="#" Hi, I wish to know if HtmlUnit - HtmlElement / HtmlAnchor.click() method includes code to execute any JavaScript that may be (indirectly) associated with a link with href="#", but without any value for onclick attribute. My experience / experiments tell me that no JavaScript is executed in such a case: 1. HtmlUnit-based application fails to fetch/load the page that a browser does for such links. 2. I have observed the net-work activity in the Windows TaskManager: a. when I click the link in a browser, the graph shows net-work activity, b. when the click() is called in the HtmlUnit-based app, the graph does not show any net-work activity. If the click() method code does include JavaScript execution, what may be the reason for page not being fetched / loaded? I have already tried waiting upto even two minutes for JavaScript completion. If the click() method code does not include JavaScript execution, any work-around that I can immediately try? Thanks, Satya ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: Satyanarayana K <kri...@ya...> - 2013-10-17 06:06:56
|
Hi, I wish to know if HtmlUnit - HtmlElement / HtmlAnchor.click() method includes code to execute any JavaScript that may be (indirectly) associated with a link with href="#", but without any value for onclick attribute. My experience / experiments tell me that no JavaScript is executed in such a case: 1. HtmlUnit-based application fails to fetch/load the page that a browser does for such links. 2. I have observed the net-work activity in the Windows TaskManager: a. when I click the link in a browser, the graph shows net-work activity, b. when the click() is called in the HtmlUnit-based app, the graph does not show any net-work activity. If the click() method code does include JavaScript execution, what may be the reason for page not being fetched / loaded? I have already tried waiting upto even two minutes for JavaScript completion. If the click() method code does not include JavaScript execution, any work-around that I can immediately try? Thanks, Satya |
From: Satyanarayana K <kri...@ya...> - 2013-10-17 06:05:13
|
Hi, I wish to know if HtmlUnit - HtmlElement / HtmlAnchor.click() method includes code to execute any JavaScript that may be (indirectly) associated with a link with href="#", but without any value for onclick attribute. My experience / experiments tell me that no JavaScript is executed in such a case: 1. HtmlUnit-based application fails to fetch/load the page that a browser does for such links. 2. I have observed the net-work activity in the Windows TaskManager: a. when I click the link in a browser, the graph shows net-work activity, b. when the click() is called in the HtmlUnit-based app, the graph does not show any net-work activity. If the click() method code does include JavaScript execution, what may be the reason for page not being fetched / loaded? I have already tried waiting upto even two minutes for JavaScript completion. If the click() method code does not include JavaScript execution, any work-around that I can immediately try? Thanks, Satya |
From: Ahmed A. <asa...@ya...> - 2013-10-16 21:03:20
|
Hi Andrew, It is included inside "Using a proxy server" final DefaultCredentialsProvider credentialsProvider = (DefaultCredentialsProvider) webClient.getCredentialsProvider(); credentialsProvider.addCredentials("username", "password"); Ahmed ________________________________ From: Andrew Pennebaker <ape...@42...> To: HtmlUnit Users <htm...@li...> Sent: Wednesday, October 16, 2013 9:21 PM Subject: [Htmlunit-user] How do I configure WebClient for different kinds of HTTP authentications? I read the snippet in the Getting Started guide, but I'm still a little confused. How can I: * Specify a username/password for accessing a proxy server? * Specify a username/password for reaching a protected web page? The Getting Started guide seems to only answer the first one question, but I'm also interested in the second. -- Cheers, Andrew Pennebaker ape...@42... ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: Ahmed A. <asa...@ya...> - 2013-10-16 20:55:16
|
Hi David, You are saying two different things: 1- DownloadedContent.InMemory is used even for files larger than HttpWebConnection.MAX_IN_MEMORY 2- DownloadedContent.OnFile is not deleted when calling webClient.closeAllWindows(). To be on the same page, let's specify test cases. Please check the below test case for #2 (I have manually changed HttpWebConnection.MAX_IN_MEMORY to 1 (to make it use OnFile for that image). WebClient webClient = new WebClient(); Page page = webClient.getPage("https://www.google.com/images/srpr/logo11w.png"); field = WebResponse.class.getDeclaredField("responseData_"); field.setAccessible(true); WebResponseData responseData = (WebResponseData) field.get(page.getWebResponse()); field = WebResponseData.class.getDeclaredField("downloadedContent_"); field.setAccessible(true); DownloadedContent downloadedContent = (DownloadedContent) field.get(responseData); field = DownloadedContent.OnFile.class.getDeclaredField("file_"); field.setAccessible(true); File file = (File) field.get(downloadedContent); Assert.assertTrue(file.exists()); webClient.closeAllWindows(); Assert.assertFalse(file.exists()); Ahmed Ashour ________________________________ From: David Taylor <da...@de...> To: Ahmed Ashour <asa...@ya...>; htm...@li... Sent: Wednesday, October 16, 2013 8:52 PM Subject: Re: [Htmlunit-user] Fw: Bug 1344: is this fix in 2.12? Ahmed, I have transitioned to 2.13 and I am still seeing lots of html*.tmp files being left around. It seems to me that at the cleanup() phase a lot of these WebResponses are typed DownloadedContent.InMemory despite being over the size limit so the cleanup() does nothing. Is there some special way that I am supposed to create the HTMLPage to ensure that the logic creates a DownloadedContent.OnFile when the response size is over the limit ? Thanks, David David -- David Taylor, Detayls On Wed, Oct 9, 2013 at 3:00 PM, Ahmed Ashour <asa...@ya...> wrote: Hi David, > > >I manually tested, and the file is deleted on calling webClient.closeAllWindows(). > >Please use snapshot from http://build.canoo.com/htmlunit/artifacts > > >Yours, >Ahmed > >________________________________ > >From: Ahmed Ashour <asa...@ya...> >To: "htm...@li..." <htm...@li...> >Sent: Thursday, October 10, 2013 12:47 AM >Subject: [Htmlunit-user] Fw: Bug 1344: is this fix in 2.12? > > > >Hi David, > > >I have replied back, but the email may not have gone through :(( > > >I will try to make a test case to verify the findings, hope this can be done before the eminent release. > > >Yours, >Ahmed > > >----- Forwarded Message ----- >From: Ahmed Ashour <asa...@ya...> >To: "htm...@li..." <htm...@li...> >Sent: Sunday, October 6, 2013 11:03 AM >Subject: Re: [Htmlunit-user] Bug 1344: is this fix in 2.12? > > > >Hi David, > > >Are you seeing any issue now? > > >The proper fix was done in https://sourceforge.net/p/htmlunit/code/7832 > > > >Yours, >Ahmed > >________________________________ > From: David Taylor <da...@de...> >To: htm...@li... >Sent: Sunday, October 6, 2013 12:56 AM >Subject: [Htmlunit-user] Bug 1344: is this fix in 2.12? > > >Hi! First post. > >I noticed a pair of fixes for a problem "WebClient.closeAllWindows() to delete all temporary created big files." Those revisions were 7813 and 7816. > >Have these fixes made it into version 2.12? > >It seems to me the fixes are not present. Was there a regression perhaps? > >David >-- >David W. Taylor, Detayls >www.detayls.com > > > > > >------------------------------------------------------------------------------ >October Webinars: Code for Performance >Free Intel webinars can help you accelerate application performance. >Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from >the latest Intel processors and coprocessors. See abstracts and register > >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > > >_______________________________________________ >Htmlunit-user mailing list >Htm...@li... >https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > > >------------------------------------------------------------------------------ >October Webinars: Code for Performance >Free Intel webinars can help you accelerate application performance. >Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from >the latest Intel processors and coprocessors. See abstracts and register > >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >_______________________________________________ >Htmlunit-user mailing list >Htm...@li... >https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > |
From: Ahmed A. <asa...@ya...> - 2013-10-16 19:56:19
|
Hi David, Far below is a snippet that describes the logic. You can use page.getWebResponse().getContentType(). Ahmed final PageType pageType = determinePageType(contentType); switch (pageType) { case HTML: return createHtmlPage(webResponse, webWindow); case JAVASCRIPT: return createJavaScriptPage(webResponse, webWindow); case XML: final XmlPage xml = createXmlPage(webResponse, webWindow); return xml; case TEXT: return createTextPage(webResponse, webWindow); default: return createUnexpectedPage(webResponse, webWindow); } ________________________________ From: David Michael Gang <mic...@gm...> To: htm...@li... Sent: Monday, October 14, 2013 5:09 PM Subject: [Htmlunit-user] When do i get an UnexpectedPage? Hi all, In which case do i get an UnexpectedPage? One case is when i download a pdf. Are there other cases? If yes how do i know which page type i download? Thanks, David ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: Andrew P. <ape...@42...> - 2013-10-16 18:21:48
|
I read the snippet in the Getting Started<http://htmlunit.sourceforge.net/gettingStarted.html>guide, but I'm still a little confused. How can I: * Specify a username/password for accessing a proxy server? * Specify a username/password for reaching a protected web page? The Getting Started guide seems to only answer the first one question, but I'm also interested in the second. -- Cheers, Andrew Pennebaker ape...@42... |
From: David T. <da...@de...> - 2013-10-16 17:52:38
|
Ahmed, I have transitioned to 2.13 and I am still seeing lots of html*.tmp files being left around. It seems to me that at the cleanup() phase a lot of these WebResponses are typed DownloadedContent.InMemory despite being over the size limit so the cleanup() does nothing. Is there some special way that I am supposed to create the HTMLPage to ensure that the logic creates a DownloadedContent.OnFile when the response size is over the limit ? Thanks, David David -- David Taylor, Detayls On Wed, Oct 9, 2013 at 3:00 PM, Ahmed Ashour <asa...@ya...> wrote: > Hi David, > > I manually tested, and the file is deleted on > calling webClient.closeAllWindows(). > > Please use snapshot from http://build.canoo.com/htmlunit/artifacts > > Yours, > Ahmed > ------------------------------ > *From:* Ahmed Ashour <asa...@ya...> > *To:* "htm...@li..." < > htm...@li...> > *Sent:* Thursday, October 10, 2013 12:47 AM > *Subject:* [Htmlunit-user] Fw: Bug 1344: is this fix in 2.12? > > Hi David, > > I have replied back, but the email may not have gone through :(( > > I will try to make a test case to verify the findings, hope this can be > done before the eminent release. > > Yours, > Ahmed > > ----- Forwarded Message ----- > *From:* Ahmed Ashour <asa...@ya...> > *To:* "htm...@li..." < > htm...@li...> > *Sent:* Sunday, October 6, 2013 11:03 AM > *Subject:* Re: [Htmlunit-user] Bug 1344: is this fix in 2.12? > > Hi David, > > Are you seeing any issue now? > > The proper fix was done in https://sourceforge.net/p/htmlunit/code/7832 > > Yours, > Ahmed > ------------------------------ > *From:* David Taylor <da...@de...> > *To:* htm...@li... > *Sent:* Sunday, October 6, 2013 12:56 AM > *Subject:* [Htmlunit-user] Bug 1344: is this fix in 2.12? > > Hi! First post. > > I noticed a pair of fixes for a problem "WebClient.closeAllWindows() to > delete all temporary created big files." Those revisions were 7813 and 7816. > > Have these fixes made it into version 2.12? > > It seems to me the fixes are not present. Was there a regression perhaps? > > David > -- > David W. Taylor, Detayls > www.detayls.com > > > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > |
From: Ahmed A. <asa...@ya...> - 2013-10-16 10:05:11
|
Hi, Just a hint, whenever a method is deprecated, its JavaDoc always documents the alternative. Yours, Ahmed ________________________________ From: James Petty <jp...@ji...> To: da...@de...; htm...@li... Sent: Tuesday, October 15, 2013 8:54 PM Subject: Re: [Htmlunit-user] Deprecated - how to handle... David- those methods were moved into the WebClientOptions object, so the only change necessary is to call: webClient.getOptions().setThrowExceptionOnScriptError(false); webClient.getOptions().setThrowExceptionOnFailingStatusCode(true); webClient.getOptions().setCssEnabled(false); webClient.getOptions().setJavaScriptEnabled(true); webClient.getOptions().setTimeout(config.getMaxTimeoutMS()); On Tue, Oct 15, 2013 at 1:34 PM, David Taylor <da...@de...> wrote: Hello. > >I am slightly stunned to see that a few of the setter methods I have been >using have been deprecated and then removed, when upgrading to version >2.13. > >The list includes: > > webClient.setThrowExceptionOnScriptError(false); > webClient.setThrowExceptionOnFailingStatusCode(true); > webClient.setCssEnabled(false); > webClient.setJavaScriptEnabled(true); > webClient.setTimeout(config.getMaxTimeoutMS()); > >Is there a migration plan for these documented anywhere? It seems very >harsh to simply remove the symbols with no suggestions. > >Thanks, >David >-- >David W. Taylor, Detayls > > > >------------------------------------------------------------------------------ >October Webinars: Code for Performance >Free Intel webinars can help you accelerate application performance. >Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from >the latest Intel processors and coprocessors. See abstracts and register > >http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk >_______________________________________________ >Htmlunit-user mailing list >Htm...@li... >https://lists.sourceforge.net/lists/listinfo/htmlunit-user > -- James Petty Senior Software Engineer mobile703.615.2581 emailjpetty@jibe.com Jibe.com ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: James P. <jp...@ji...> - 2013-10-15 18:55:18
|
David- those methods were moved into the WebClientOptions object, so the only change necessary is to call: webClient.getOptions().setThrowExceptionOnScriptError(false); webClient.getOptions().setThrowExceptionOnFailingStatusCode(true); webClient.getOptions().setCssEnabled(false); webClient.getOptions().setJavaScriptEnabled(true); webClient.getOptions().setTimeout(config.getMaxTimeoutMS()); On Tue, Oct 15, 2013 at 1:34 PM, David Taylor <da...@de...> wrote: > Hello. > > I am slightly stunned to see that a few of the setter methods I have been > using have been deprecated and then removed, when upgrading to version > 2.13. > > The list includes: > > webClient.setThrowExceptionOnScriptError(false); > webClient.setThrowExceptionOnFailingStatusCode(true); > webClient.setCssEnabled(false); > webClient.setJavaScriptEnabled(true); > webClient.setTimeout(config.getMaxTimeoutMS()); > > Is there a migration plan for these documented anywhere? It seems very > harsh to simply remove the symbols with no suggestions. > > Thanks, > David > -- > David W. Taylor, Detayls > > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > -- James Petty Senior Software Engineer mobile703.615.2581<https://mail-attachment.googleusercontent.com/attachment/u/0/?ui=2&ik=e11285207d&view=att&th=1412c697f6609cee&attid=0.1&disp=inline&realattid=f_hlp8pc9k0&safe=1&zw&saduie=AG9B_P-RC9o7yg3jdEjG-xbctIed&sadet=1379430008684&sads=pgybBp1-0lrNl3aQGHGxVlPLuV4#0.1_> emailjpetty@jibe.com Jibe.com <http://www.jibe.com/> |
From: David T. <da...@de...> - 2013-10-15 18:00:09
|
Thanks! David -- David Taylor, Detayls On Tue, Oct 15, 2013 at 10:54 AM, James Petty <jp...@ji...> wrote: > David- those methods were moved into the WebClientOptions object, so the > only change necessary is to call: > > webClient.getOptions().setThrowExceptionOnScriptError(false); > webClient.getOptions().setThrowExceptionOnFailingStatusCode(true); > webClient.getOptions().setCssEnabled(false); > webClient.getOptions().setJavaScriptEnabled(true); > webClient.getOptions().setTimeout(config.getMaxTimeoutMS()); > > > On Tue, Oct 15, 2013 at 1:34 PM, David Taylor <da...@de...> wrote: > >> Hello. >> >> I am slightly stunned to see that a few of the setter methods I have been >> using have been deprecated and then removed, when upgrading to version >> 2.13. >> >> The list includes: >> >> webClient.setThrowExceptionOnScriptError(false); >> webClient.setThrowExceptionOnFailingStatusCode(true); >> webClient.setCssEnabled(false); >> webClient.setJavaScriptEnabled(true); >> webClient.setTimeout(config.getMaxTimeoutMS()); >> >> Is there a migration plan for these documented anywhere? It seems very >> harsh to simply remove the symbols with no suggestions. >> >> Thanks, >> David >> -- >> David W. Taylor, Detayls >> >> >> >> >> ------------------------------------------------------------------------------ >> October Webinars: Code for Performance >> Free Intel webinars can help you accelerate application performance. >> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most >> from >> the latest Intel processors and coprocessors. See abstracts and register > >> >> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk >> _______________________________________________ >> Htmlunit-user mailing list >> Htm...@li... >> https://lists.sourceforge.net/lists/listinfo/htmlunit-user >> > > > > -- > James Petty > Senior Software Engineer > > mobile703.615.2581<https://mail-attachment.googleusercontent.com/attachment/u/0/?ui=2&ik=e11285207d&view=att&th=1412c697f6609cee&attid=0.1&disp=inline&realattid=f_hlp8pc9k0&safe=1&zw&saduie=AG9B_P-RC9o7yg3jdEjG-xbctIed&sadet=1379430008684&sads=pgybBp1-0lrNl3aQGHGxVlPLuV4#0.1_> > emailjpetty@jibe.com > > Jibe.com <http://www.jibe.com/> > |
From: David T. <da...@de...> - 2013-10-15 17:34:25
|
Hello. I am slightly stunned to see that a few of the setter methods I have been using have been deprecated and then removed, when upgrading to version 2.13. The list includes: webClient.setThrowExceptionOnScriptError(false); webClient.setThrowExceptionOnFailingStatusCode(true); webClient.setCssEnabled(false); webClient.setJavaScriptEnabled(true); webClient.setTimeout(config.getMaxTimeoutMS()); Is there a migration plan for these documented anywhere? It seems very harsh to simply remove the symbols with no suggestions. Thanks, David -- David W. Taylor, Detayls |
From: Eric P. <Er...@Pe...> - 2013-10-14 18:04:02
|
10:56:04.924 [main] ERROR c.g.h.javascript.StrictErrorReporter - runtimeError: message=[An invalid or illegal selector was specified (selector: '#advIdProgIdCombo option:selected' error: Invalid selector: *#advIdProgIdCombo option:selected).] sourceName=[ https://publisher.ebaypartnernetwork.com/common/js-16449593/min/jquery-1.3.2-min.js] line=[19] lineSource=[null] lineOffset=[0] Anyone know what browser feature might fix this? Thanks, Eric |
From: David M. G. <mic...@gm...> - 2013-10-14 14:09:35
|
Hi all, In which case do i get an UnexpectedPage? One case is when i download a pdf. Are there other cases? If yes how do i know which page type i download? Thanks, David |
From: <luc...@ti...> - 2013-10-14 09:32:44
|
Hi Satya, I notice that the exception persist, but now I'm able to go on with development, thanks for your help. Bye, Lucia. Hi Ahmed, Here is the code with click() calls. ***************** WebClient webClient = new WebClient(); try{ HtmlPage page1 = webClient.getPage("https://www.fbo.gov/ [1]"); if (page1 != null){ System.out.println("I-page: ".concat(page1.getTitleText())); HtmlElement elem1 = null; try{ elem1 = (HtmlElement)page1.getByXPath(".//ul[@id='n']").get(0); elem1 = (HtmlElement)elem1.getByXPath("./li[4]/[a1]").get(0); if (elem1 != null){ HtmlPage page2 = null; try{ page2 = elem1.click(); webClient.waitForBackgroundJavaScript(20000); page2 = (HtmlPage)webClient.getCurrentWindow().getEnclosedPage(); if (page2 != null){ System.out.println("II-page: ".concat(page1.getTitleText())); HtmlElement elem2 = null; try{ elem2 = (HtmlElement)page2.getByXPath("//ul[@class='tbrw']").get(0); elem2 = (HtmlElement)elem2.getByXPath("./li[2]/a[1]").get(0); if (elem2 != null){ HtmlPage page3 = null; try{ page3 = (HtmlPage)elem2.click(); webClient.waitForBackgroundJavaScript(20000); page3 = (HtmlPage)webClient.getCurrentWindow().getEnclosedPage(); if (page3 != null){ System.out.println("III-page: ".concat(page3.getTitleText())); } page3 = null; }catch(Exception ex){ System.out.println("Exception in getting II-page: ".concat(ex.getMessage() != null ? ex.getMessage() : "No Message!")); } } elem2 = null; }catch(Exception ex){ System.out.println("Exception in acccessing II-link: ".concat(ex.getMessage() != null ? ex.getMessage() : "No Message!")); } } page2 = null; }catch(Exception ex){ System.out.println("Exception in getting II-page: ".concat(ex.getMessage() != null ? ex.getMessage() : "No Message!")); } } elem1 = null; }catch(Exception ex){ System.out.println("Exception in accessing I-link: ".concat(ex.getMessage() != null ? ex.getMessage() : "No Message!")); } ***************** Thanks, Satya Tiscali Incontri by Meetic Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 [2] Links: ------ [1] https://www.fbo.gov/ [2] http://k.ilius.net/?mtcmk=739565&fsid=080 Tiscali Incontri by Meetic Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 |
From: Satyanarayana K <kri...@ya...> - 2013-10-12 03:31:07
|
Thanks Ahmed, I will check it out again. - Satya ________________________________ From: Ahmed Ashour <asa...@ya...> To: "htm...@li..." <htm...@li...> Sent: Sunday, October 6, 2013 7:45 PM Subject: Re: [Htmlunit-user] HtmlUnit is failing to fetch a certain page Hi Satya, I am getting "III-page: " No error :) Ahmed ________________________________ From: Satyanarayana K <kri...@ya...> To: Ahmed Ashour <asa...@ya...>; "htm...@li..." <htm...@li...> Sent: Sunday, October 6, 2013 4:51 PM Subject: Re: [Htmlunit-user] HtmlUnit is failing to fetch a certain page Hi Ahmed, Sorry about the slip. It should have been a[1] instead of [a1] . BUT that mistake was only in the code I put together just now to pass on to you. I had not made any such mistakes in the input in my earlier runs that failed to fetch the correct click-result-page. ( I do not put the paths directly in the Java Code. I use a separate text file which I can maintain easily, without having to rebuild the java code. What was surprising was that the first-click worked; the second did not.) Please try with the corrected code and let me know the result. Thanks, Satya ________________________________ From: Ahmed Ashour <asa...@ya...> To: "htm...@li..." <htm...@li...> Sent: Sunday, October 6, 2013 7:02 PM Subject: Re: [Htmlunit-user] HtmlUnit is failing to fetch a certain page Hi Satya, You need to do your homework, what is a1 in "./li[4]/[a1]"? Ahmed ________________________________ From: Satyanarayana K <kri...@ya...> To: Ahmed Ashour <asa...@ya...>; "htm...@li..." <htm...@li...> Sent: Sunday, October 6, 2013 4:09 PM Subject: Re: [Htmlunit-user] HtmlUnit is failing to fetch a certain page Hi Ahmed, Here is the code with click() calls. ***************** WebClient webClient = new WebClient(); try{ HtmlPage page1 = webClient.getPage("https://www.fbo.gov/"); if (page1 != null){ System.out.println("I-page: ".concat(page1.getTitleText())); HtmlElement elem1 = null; try{ elem1 = (HtmlElement)page1.getByXPath(".//ul[@id='n']").get(0); elem1 = (HtmlElement)elem1.getByXPath("./li[4]/[a1]").get(0); if (elem1 != null){ HtmlPage page2 = null; try{ page2 = elem1.click(); webClient.waitForBackgroundJavaScript(20000); page2 = (HtmlPage)webClient.getCurrentWindow().getEnclosedPage(); if (page2 != null){ System.out.println("II-page: ".concat(page1.getTitleText())); HtmlElement elem2 = null; try{ elem2 = (HtmlElement)page2.getByXPath("//ul[@class='tbrw']").get(0); elem2 = (HtmlElement)elem2.getByXPath("./li[2]/a[1]").get(0); if (elem2 != null){ HtmlPage page3 = null; try{ page3 = (HtmlPage)elem2.click(); webClient.waitForBackgroundJavaScript(20000); page3 = (HtmlPage)webClient.getCurrentWindow().getEnclosedPage(); if (page3 != null){ System.out.println("III-page: ".concat(page3.getTitleText())); } page3 = null; }catch(Exception ex){ System.out.println("Exception in getting II-page: ".concat(ex.getMessage() != null ? ex.getMessage() : "No Message!")); } } elem2 = null; }catch(Exception ex){ System.out.println("Exception in acccessing II-link: ".concat(ex.getMessage() != null ? ex.getMessage() : "No Message!")); } } page2 = null; }catch(Exception ex){ System.out.println("Exception in getting II-page: ".concat(ex.getMessage() != null ? ex.getMessage() : "No Message!")); } } elem1 = null; }catch(Exception ex){ System.out.println("Exception in accessing I-link: ".concat(ex.getMessage() != null ? ex.getMessage() : "No Message!")); } ***************** Thanks, Satya ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: Ahmed A. <asa...@ya...> - 2013-10-11 17:59:00
|
Hi Satya, I am getting "III-page: " No error :) Ahmed ________________________________ From: Satyanarayana K <kri...@ya...> To: Ahmed Ashour <asa...@ya...>; "htm...@li..." <htm...@li...> Sent: Sunday, October 6, 2013 4:51 PM Subject: Re: [Htmlunit-user] HtmlUnit is failing to fetch a certain page Hi Ahmed, Sorry about the slip. It should have been a[1] instead of [a1] . BUT that mistake was only in the code I put together just now to pass on to you. I had not made any such mistakes in the input in my earlier runs that failed to fetch the correct click-result-page. ( I do not put the paths directly in the Java Code. I use a separate text file which I can maintain easily, without having to rebuild the java code. What was surprising was that the first-click worked; the second did not.) Please try with the corrected code and let me know the result. Thanks, Satya ________________________________ From: Ahmed Ashour <asa...@ya...> To: "htm...@li..." <htm...@li...> Sent: Sunday, October 6, 2013 7:02 PM Subject: Re: [Htmlunit-user] HtmlUnit is failing to fetch a certain page Hi Satya, You need to do your homework, what is a1 in "./li[4]/[a1]"? Ahmed ________________________________ From: Satyanarayana K <kri...@ya...> To: Ahmed Ashour <asa...@ya...>; "htm...@li..." <htm...@li...> Sent: Sunday, October 6, 2013 4:09 PM Subject: Re: [Htmlunit-user] HtmlUnit is failing to fetch a certain page Hi Ahmed, Here is the code with click() calls. ***************** WebClient webClient = new WebClient(); try{ HtmlPage page1 = webClient.getPage("https://www.fbo.gov/"); if (page1 != null){ System.out.println("I-page: ".concat(page1.getTitleText())); HtmlElement elem1 = null; try{ elem1 = (HtmlElement)page1.getByXPath(".//ul[@id='n']").get(0); elem1 = (HtmlElement)elem1.getByXPath("./li[4]/[a1]").get(0); if (elem1 != null){ HtmlPage page2 = null; try{ page2 = elem1.click(); webClient.waitForBackgroundJavaScript(20000); page2 = (HtmlPage)webClient.getCurrentWindow().getEnclosedPage(); if (page2 != null){ System.out.println("II-page: ".concat(page1.getTitleText())); HtmlElement elem2 = null; try{ elem2 = (HtmlElement)page2.getByXPath("//ul[@class='tbrw']").get(0); elem2 = (HtmlElement)elem2.getByXPath("./li[2]/a[1]").get(0); if (elem2 != null){ HtmlPage page3 = null; try{ page3 = (HtmlPage)elem2.click(); webClient.waitForBackgroundJavaScript(20000); page3 = (HtmlPage)webClient.getCurrentWindow().getEnclosedPage(); if (page3 != null){ System.out.println("III-page: ".concat(page3.getTitleText())); } page3 = null; }catch(Exception ex){ System.out.println("Exception in getting II-page: ".concat(ex.getMessage() != null ? ex.getMessage() : "No Message!")); } } elem2 = null; }catch(Exception ex){ System.out.println("Exception in acccessing II-link: ".concat(ex.getMessage() != null ? ex.getMessage() : "No Message!")); } } page2 = null; }catch(Exception ex){ System.out.println("Exception in getting II-page: ".concat(ex.getMessage() != null ? ex.getMessage() : "No Message!")); } } elem1 = null; }catch(Exception ex){ System.out.println("Exception in accessing I-link: ".concat(ex.getMessage() != null ? ex.getMessage() : "No Message!")); } ***************** Thanks, Satya ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: <luc...@ti...> - 2013-10-11 17:20:29
|
Hi Ahmed, I tried your code but problems persist. Below the error: [java] Assertion statements are currently ignored in non-forked mode [java] ott 11, 2013 7:11:10 PM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify [java] WARNING: Obsolete content type encountered: 'text/javascript'. [java] ott 11, 2013 7:11:11 PM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructor [java] WARNING: Automation server can't create object for 'ShockwaveFlash.ShockwaveFlash.7'. [java] ott 11, 2013 7:11:11 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError [java] SEVERE: runtimeError: message=[Automation server can't create object for 'ShockwaveFlash.ShockwaveFlash.7'.] sourceName=[http://www.google-analytics.com/ga.js] line=[24] lineSource=[null] lineOffset=[0] [java] ott 11, 2013 7:11:11 PM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructor [java] WARNING: Automation server can't create object for 'ShockwaveFlash.ShockwaveFlash.6'. [java] ott 11, 2013 7:11:11 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError [java] SEVERE: runtimeError: message=[Automation server can't create object for 'ShockwaveFlash.ShockwaveFlash.6'.] sourceName=[http://www.google-analytics.com/ga.js] line=[24] lineSource=[null] lineOffset=[0] [java] ott 11, 2013 7:11:11 PM com.gargoylesoftware.htmlunit.javascript.host.ActiveXObject jsConstructor [java] WARNING: Automation server can't create object for 'ShockwaveFlash.ShockwaveFlash'. [java] ott 11, 2013 7:11:11 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError [java] SEVERE: runtimeError: message=[Automation server can't create object for 'ShockwaveFlash.ShockwaveFlash'.] sourceName=[http://www.google-analytics.com/ga.js] line=[24] lineSource=[null] lineOffset=[0] [java] BUTTON PATH html/body/table/tbody/tr/td[@valign='top']/table/tbody/tr/td/form/p/input[@type='submit'] [java] BUTTON [java] [java] ott 11, 2013 7:11:16 PM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify [java] WARNING: Obsolete content type encountered: 'application/x-javascript'. [java] ott 11, 2013 7:11:16 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError [java] SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://code.jquery.com/jquery-1.10.1.min.js] line=[4] lineSource=[null] lineOffset=[0] [java] RESULT [java] [java] [java] [java] Job status of 5258312F000064B4CC147CCA</span> [java] [java] [java] [java] [java] [java] [java] Your job 5258312F000064B4CC147CCA is [java] [java] queued [java] [java] [java] [java] [java] [java] Send me email when job finishes [java] [java] [java] [java] [java] [java] [java] [java] [java] checking job status ... [java] [java] [java] //maxwaittime) { [java] waittime=maxwaittime; [java] } [java] setTimeout('check()', waittime*1000); [java] }, [java] error: function(xhr, ajaxOptions, thrownError){ [java] $('#progress').html("Error retrieving job status : "+xhr.status+" "+thrownError); [java] setTimeout('check()', 1000); [java] }, [java] complete: function() { [java] } [java] }); [java] } [java] [java] $(document).ready(function(){ [java] $('#progress').html(''); [java] check(); [java] }); [java] [java] //]]> [java] [java] [java] [java] [java] Other suggestion ? 2013/10/11 Ahmed Ashour > Hi, > > HtmlPage signalPPage = new WebClient().getPage( "http://www.cbs.dtu.dk/services/SignalP [1]"); > > String buttonPath = "html/body/table/tbody/tr/td[@valign='top']/table/tbody/tr/td/form/p/input[@type='submit']"; > System.out.println("BUTTON PATH " + buttonPath.toString()); > List buttonPathSubmit = signalPPage.getByXPath(buttonPath); > > HtmlElement button = (HtmlElement) buttonPathSubmit.get(0); > System.out.println("BUTTON " + button.asXml()); > > HtmlPage result = (HtmlPage) button.click(); > > System.out.println("RESULT " + result.asXml()); > Ahmed > > ------------------------- > FROM: "luc...@ti... [2]" > TO: htm...@li... [4] > SENT: Thursday, October 10, 2013 10:03 PM > SUBJECT: Re: [Htmlunit-user] "SEVERE: runtimeError ..." when running button.click() > > Yes I used all libraries: > > * cddparser-0.9.11.jar > * htmlunit-core-js-2.13.jar > * nekohtml-1.9.19.jar > * httpclient-4.3.1.jar > > Can you send me a piece of your code, please ? Tiscali Incontri by Meetic Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 [6] Links: ------ [1] http://www.cbs.dtu.dk/services/SignalP [2] mailto:luc...@ti... [3] mailto:luc...@ti... [4] mailto:htm...@li... [5] mailto:asa...@ya... [6] http://k.ilius.net/?mtcmk=739565&fsid=080 Tiscali Incontri by Meetic Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 |
From: <luc...@ti...> - 2013-10-11 13:20:27
|
HtmlPage signalPPage = "http://www.cbs.dtu.dk/services/SignalP [99]"; String buttonPath = "html/body/table/tbody/tr/td[@valign='top']/table/tbody/tr/td/form/p/input[@type='submit']"; System.out.println("BUTTON PATH " + buttonPath.toString()); List buttonPathSubmit = signalPPage.getByXPath(buttonPath); HtmlElement button = (HtmlElement) buttonPathSubmit.get(0); System.out.println("BUTTON " + button.asXml()); HtmlPage result = (HtmlPage) button.click(); System.out.println [100]("RESULT " + result.asXml()); Sorry !! This is my code ! 2013/10/11 Ahmed Ashour > We need to speak the same language (Java :)) > > Please use latest 2.13 with Java project and advise. > > Ahmed > > ------------------------- > > FROM: "luc...@ti... [84]" > TO: htm...@li... [86] SENT:Friday, October 11, 2013 1:59 PM > > SUBJECT: Re: [Htmlunit-user] "SEVERE: runtimeError ..." when running button.click() > > HtmlPage signalPPage = >>> >"http://www.cbs.dtu.dk/services/SignalP [87] [15]"; > String buttonPath = "html/body/table/tbody/tr/td[@valign='top']/table/tbody/tr/td/form/p/input[@type='submit']"; > logger.info [88] [16] [1]("BUTTON PATH " + buttonPath.toString()); > List buttonPathSubmit = signalPPage.getByXPath(buttonPath); > HtmlElement button = (HtmlElement) buttonPathSubmit.get(0); > logger.info [89] [17][2]("BUTTON" + button.asXml()); > HtmlPage result = (HtmlPage) button.click(); > logger.info [90] [18] [3]("RESULT " + result.asXml()); > > This is my code, is equal to your. > Why not run correctly ? > > 2013/10/11 Ahmed Ashour > >> Hi, >> >> HtmlPage signalPPage = new WebClient().getPage( "http://www.cbs.dtu.dk/services/SignalP [72]"); >> >> String buttonPath = "html/body/table/tbody/tr/td[@valign='top']/table/tbody/tr/td/form/p/input[@type='submit']"; >> System.out.println("BUTTON PATH " + buttonPath.toString()); >> List buttonPathSubmit = signalPPage.getByXPath(buttonPath); >> >> HtmlElement button = (HtmlElement) buttonPathSubmit.get(0); >> System.out.println("BUTTON " + button.asXml()); >> >> HtmlPage result = (HtmlPage) button.click(); >> >> System.out.println("RESULT " + result.asXml()); >> Ahmed >> >> ------------------------- >> FROM: "luc...@ti... [73]" >> TO: htm...@li... [75] >> SENT: Thursday, October 10, 2013 10:03 PM >> SUBJECT: Re: [Htmlunit-user] "SEVERE: runtimeError ..." when running button.click() >> >> Yes I used all libraries: >> >> * cddparser-0.9.11.jar >> * htmlunit-core-js-2.13.jar >> * nekohtml-1.9.19.jar >> * httpclient-4.3.1.jar >> >> Can you send me a piece of your code, please ? >> >> 2013/10/10 Ronald Brill >> >>> Works fine here with FF17. >>> Are you sure, you have used all the libs form the latest build (CSSParser, Core-JS, Neko, Httpclient) >>> >>> RBRi >>> >>> On Thu, 10 Oct 2013 20:32:08 +0200 luc...@ti... [1] wrote: >>> > >>> > >>> > >>> >Hi, I use Firefox 17. >>> > >>> >I do: WebClient webClient = new >>> >WebClient(BrowserVersion.FIREFOX_17); >>> > >>> >What is the default browser ? >>> > >>> > >>> >2013/10/10 Ahmed Ashour >>> > >>>>> Hi, >>> >> Which browser you use? Default one >>> >doesn't give an error. >>> >> >>> >> Ahmed >>> >> >>> >> On Oct 10, 2013, at 8:02 PM, >>>> luc...@ti... [2] [28] wrote: >>> >> >>> >>> Tried but the error doesn't >>> >change. >>> >>> >>> >>> Any suggestion ? >>> >>> >>> >>> 2013/10/10 >>> >>> >>> No I >>> >downloaded version 2.12 from http://htmlunit.sourceforge.net [3] [8] >>> >>>>>> >>> >>> >>> >Now I will try with "htmlunit-2.13-SNAPSHOT-with-dependencies.zip" >>> >version >>> >>> >>> 2013/10/10 Ronald Brill Invia [10] >>> >>> Did you use the >>> >latest build from http://build.canoo.com/htmlunit/ [4] [11]? >>> >>> >>> >>> RBRi >>> >>> >>> > >>> >>> On Thu, 10 Oct 2013 18:03:53 +0200 luc...@ti... [5] [12] >>> >>>> wrote: >>> >>> > >>> >>> > >>> >>> > >>> >>> >Hi all, >>> >>> > >>> >>> >when i submit a form with >>> >button.click() I get following >>> >>> >error: >>> >>> > >>> >>> >SEVERE: runtimeError: >>> >message=[An invalid or illegal selector >>> >>> >was specified (selector: >>> >'*,:x' error: Invalid selector: *:x).] >>> >>> >>sourceName=[http://code.jquery.com/jquery-1.10.1.min.js [6] [13]] >>> >>>> line=[4] >>> >>> >lineSource=[null] lineOffset=[0] >>> >>> > >>> >>> >The site is >>> >>> >>http://www.cbs.dtu.dk/services/SignalP [7] [14] and the button is >>> >>>> "Submit". >>> >>> > >>> >>> > >>> >>> >Below the code i wrote: >>> >>> > >>> >>> >HtmlPage >>> >signalPPage = >>> >"http://www.cbs.dtu.dk/services/SignalP [8] [15]"; >>> >>>>>> > >>> >>> >>> >>String buttonPath = >>> >>> >>> >>"html/body/table/tbody/tr/td[@valign='top']/table/tbody/tr/td/form/p/input[@type='submit']"; >>> >>> >>> >> >>> >>> >>>> logger.info [9] [16] [1]("BUTTON PATH " + >>> >>>> buttonPath.toString()); >>> >>> > List >>> >>>> buttonPathSubmit = >>> >signalPPage.getByXPath(buttonPath); >>> >>> > HtmlElement >>> >>> >button = >>> >(HtmlElement) buttonPathSubmit.get(0); >>> >>> >>>> logger.info [10] [17] >>> >>>> [2]("BUTTON >>> >>>> " + button.asXml()); >>> >>> > HtmlPage result = (HtmlPage) >>> >button.click(); >>> >>> > >>> >>> >>>> logger.info [11] [18] [3]("RESULT " + >>> >>>> result.asXml()); >>> >>>> >>> >>> >Could someone help me ? >>> >>> > >>> >>> > >>> >>> >Tiscali >>> >Incontri by Meetic >>> >>> > Offerta esclusiva pensata per te: 7 giorni >>> >>> >>> >>gratis per fare nuovi incontri! >>> >>> >>> >>>> >http://k.ilius.net/?mtcmk=739565&fsid=080 [12] [19] [4] >>> >>> > >>> >>> > >>> >>> > >>> >>> >>> >>Links: >>> >>> >------ >>> >>> >[1] >>> >>> >http://logger.info [13] [20] >>> >>> >[2] >>> >http://logger.info [14] [21] >>> >>> >[3] http://logger.info [15] [22] >>> >>> >[4] >>> >>> >>> >>http://k.ilius.net/?mtcmk=739565&fsid=080 [16] [23] >>> >>>>>>> >>> >>> > >>> >>> >Tiscali >>> >Incontri by Meetic >>> >>> >Offerta esclusiva pensata per te: 7 giorni gratis >>> >per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 [17] >[24] >>> >>>>>> > >>> >>> > >>> >>> >>> >>> ------------------------------ >>> >>> >>> >>>> >>> >------------------------------------------------ >>> >>>> October Webinars: >>> >Code for Performance >>> >>>> Free Intel webinars can help you accelerate >>> >application performance. >>> >>>> Explore tips for MPI, OpenMP, advanced >>> >profiling, and more. Get the most from >>> >>>> the latest Intel processors >>> >and coprocessors. See abstracts and register > >>> >>>> >>> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [18] >[1] >>> >>>>>>> _______________________________________________ >>> >>>> >>> >Htmlunit-user mailing list >>> >>>> Htm...@li... [19] >[2] >>> >>>> https://lists.sourceforge.net/lists/listinfo/htmlunit-user [20] >>> >[3] >>> >>>>>> >>> >>> Tiscali Incontri by Meetic >>> >>> Offerta esclusiva pensata per >>> >te: 7 giorni gratis per fare nuovi incontri! >http://k.ilius.net/?mtcmk=739565&fsid=080 [21] [25] >>> >>>>>> >>> >>> >>> >------------------------------ >>> >>> >>> >>>> >>> >------------------------------------------------ >>> >>>> October Webinars: >>> >Code for Performance >>> >>>> Free Intel webinars can help you accelerate >>> >application performance. >>> >>>> Explore tips for MPI, OpenMP, advanced >>> >profiling, and more. Get the most from >>> >>>> the latest Intel processors >>> >and coprocessors. See abstracts and register > >>> >>>> >>> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [22] >[4] >>> >>>>>>> _______________________________________________ >>> >>>> >>> >Htmlunit-user mailing list >>> >>>> Htm...@li... [23] >[5] >>> >>>> https://lists.sourceforge.net/lists/listinfo/htmlunit-user [24] >>> >[6] >>> >>>>>> >>> >>> Tiscali Incontri by Meetic >>> >>> Offerta esclusiva pensata per >>> >te: 7 giorni gratis per fare nuovi incontri! >http://k.ilius.net/?mtcmk=739565&fsid=080 [25] [26] >>> >>>>> >>> >>> >>> >------------------------------------------------------------------------------ >>> > >>> >>> >>> >>> October Webinars: Code for Performance >>> >>> Free Intel webinars >>> >can help you accelerate application performance. >>> >>> Explore tips for >>> >MPI, OpenMP, advanced profiling, and more. Get the most from >>> >>> the >>> >latest Intel processors and coprocessors. See abstracts and register >>> >> >>> >>> >>> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [26] >[27] >>> >> >>> >> _______________________________________________ >>> >> >>> >Htmlunit-user mailing list >>> >> Htm...@li... [27] [29] >>> >> >>> >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [28] [30] >>> >>>>> >>> >------------------------------------------------------------------------------ >>> >> >>> >October Webinars: Code for Performance >>> >> Free Intel webinars can help >>> >you accelerate application performance. >>> >> Explore tips for MPI, OpenMP, >>> >advanced profiling, and more. Get the most from >>> >> the latest Intel >>> >processors and coprocessors. See abstracts and register > >>> >> >>> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [29] >[31] >>> >> _______________________________________________ >>> >> Htmlunit-user >>> >mailing list >>> >> Htm...@li... [30] [32] >>> >> >>> >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [31] [33] >>> >>>>> >>> >>> >>> > >>> > >>> >Tiscali Incontri by Meetic >>> > Offerta esclusiva pensata per te: 7 giorni >>> >gratis per fare nuovi incontri! >http://k.ilius.net/?mtcmk=739565&fsid=080 [32] [35] >>> > >>> > >>> > >>> >Links: >>> >------ >>> >[1] >>> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [33] >>> >[2] >>> >mailto:Htm...@li... [34] >>> >[3] >>> >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [35] >>> >[4] >>> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [36] >>> >[5] >>> >mailto:Htm...@li... [37] >>> >[6] >>> >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [38] >>> >[7] >>> >mailto:luc...@ti... [39] >>> >[8] http://htmlunit.sourceforge.net [40] >>> >[9] >>> >mailto:rb...@rb... [41] >>> >[10] >>> >http://mail.tiscali.it/?_task=mail&_id=2747168595256d7a90d0bd&_action=compose# [42] >>> >[11] >>> >http://build.canoo.com/htmlunit/ [43] >>> >[12] mailto:luc...@ti... [44] >>> >[13] >>> >http://code.jquery.com/jquery-1.10.1.min.js [45] >>> >[14] >>> >http://www.cbs.dtu.dk/services/SignalP [46] >>> >[15] >>> >http://www.cbs.dtu.dk/services/SignalP [47] >>> >[16] http://logger.info [48] >>> >[17] >>> >http://logger.info [49] >>> >[18] http://logger.info [50] >>> >[19] >>> >http://k.ilius.net/?mtcmk=739565&fsid=080 [51] >>> >[20] >>> >http://logger.info [52] >>> >[21] http://logger.info [53] >>> >[22] http://logger.info [54] >>> >[23] >>> >http://k.ilius.net/?mtcmk=739565&fsid=080 [55] >>> >[24] >>> >http://k.ilius.net/?mtcmk=739565&fsid=080 [56] >>> >[25] >>> >http://k.ilius.net/?mtcmk=739565&fsid=080 [57] >>> >[26] >>> >http://k.ilius.net/?mtcmk=739565&fsid=080 [58] >>> >[27] >>> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [59] >>> >[28] >>> >mailto:luc...@ti... [60] >>> >[29] >>> >mailto:Htm...@li... [61] >>> >[30] >>> >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [62] >>> >[31] >>> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [63] >>> >[32] >>> >mailto:Htm...@li... [64] >>> >[33] >>> >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [65] >>> >[34] >>> >mailto:asa...@ya... [66] >>> >[35] >>> >>>> http://k.ilius.net/?mtcmk=739565&fsid=080 [67] >>> > >>> > >>> >Tiscali Incontri by Meetic >>> >Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 [68] >>> > >>> > >>> >>> ------------------------------------------------------------------------------ >>> October Webinars: Code for Performance >>> Free Intel webinars can help you accelerate application performance. >>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from >>> the latest Intel processors and coprocessors. See abstracts and register > >>> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [69] >>> _______________________________________________ >>> Htmlunit-user mailing list >>> Htm...@li... [70] >>> https://lists.sourceforge.net/lists/listinfo/htmlunit-user [71] >> >> Tiscali Incontri by Meetic >> Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 [77] >> >> ------------------------------------------------------------------------------ >> October Webinars: Code for Performance >> Free Intel webinars can help you accelerate application performance. >> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from >> the latest Intel processors and coprocessors. See abstracts and register > >> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [78] >> _______________________________________________ >> Htmlunit-user mailing list >> Htm...@li... [79] >> https://lists.sourceforge.net/lists/listinfo/htmlunit-user [80] >> >> ------------------------------------------------------------------------------ >> October Webinars: Code for Performance >> Free Intel webinars can help you accelerate application performance. >> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from >> the latest Intel processors and coprocessors. See abstracts and register > >> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [81] >> _______________________________________________ >> Htmlunit-user mailing list >> Htm...@li... [82] >> https://lists.sourceforge.net/lists/listinfo/htmlunit-user [83] > > Tiscali Incontri by Meetic > Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 [92] > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [93] > > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... [94] > https://lists.sourceforge.net/lists/listinfo/htmlunit-user [95] > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [96] > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... [97] > https://lists.sourceforge.net/lists/listinfo/htmlunit-user [98] Tiscali Incontri by Meetic Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 [102] Links: ------ [1] mailto:luc...@ti... [2] mailto:luc...@ti... [3] http://htmlunit.sourceforge.net/ [4] http://build.canoo.com/htmlunit/ [5] mailto:luc...@ti... [6] http://code.jquery.com/jquery-1.10.1.min.js [7] http://www.cbs.dtu.dk/services/SignalP [8] http://www.cbs.dtu.dk/services/SignalP [9] http://logger.info/ [10] http://logger.info/ [11] http://logger.info/ [12] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [13] http://logger.info/ [14] http://logger.info/ [15] http://logger.info/ [16] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [17] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [18] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [19] mailto:Htm...@li... [20] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [21] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [22] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [23] mailto:Htm...@li... [24] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [25] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [26] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [27] mailto:Htm...@li... [28] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [29] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [30] mailto:Htm...@li... [31] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [32] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [33] http://pubads.g.doubleclick.net/gampad/clk?id=60134071%7C+%7Camp%7C+%7Ciu=/4140/ostg.clktrk [34] mailto:Htm...@li... [35] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [36] http://pubads.g.doubleclick.net/gampad/clk?id=60134071%7C+%7Camp%7C+%7Ciu=/4140/ostg.clktrk [37] mailto:Htm...@li... [38] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [39] mailto:luc...@ti... [40] http://htmlunit.sourceforge.net/ [41] mailto:rb...@rb... [42] http://mail.tiscali.it/?_task=mail%7C+%7Camp%7C+%7C_id=2747168595256d7a90d0bd%7C+%7Camp%7C+%7C_action=compose# [43] http://build.canoo.com/htmlunit/ [44] mailto:luc...@ti... [45] http://code.jquery.com/jquery-1.10.1.min.js [46] http://www.cbs.dtu.dk/services/SignalP [47] http://www.cbs.dtu.dk/services/SignalP [48] http://logger.info/ [49] http://logger.info/ [50] http://logger.info/ [51] http://k.ilius.net/?mtcmk=739565%7C+%7Camp%7C+%7Cfsid=080 [52] http://logger.info/ [53] http://logger.info/ [54] http://logger.info/ [55] http://k.ilius.net/?mtcmk=739565%7C+%7Camp%7C+%7Cfsid=080 [56] http://k.ilius.net/?mtcmk=739565%7C+%7Camp%7C+%7Cfsid=080 [57] http://k.ilius.net/?mtcmk=739565%7C+%7Camp%7C+%7Cfsid=080 [58] http://k.ilius.net/?mtcmk=739565%7C+%7Camp%7C+%7Cfsid=080 [59] http://pubads.g.doubleclick.net/gampad/clk?id=60134071%7C+%7Camp%7C+%7Ciu=/4140/ostg.clktrk [60] mailto:luc...@ti... [61] mailto:Htm...@li... [62] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [63] http://pubads.g.doubleclick.net/gampad/clk?id=60134071%7C+%7Camp%7C+%7Ciu=/4140/ostg.clktrk [64] mailto:Htm...@li... [65] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [66] mailto:asa...@ya... [67] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [68] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [69] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [70] mailto:Htm...@li... [71] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [72] http://www.cbs.dtu.dk/services/SignalP [73] mailto:luc...@ti... [74] mailto:luc...@ti... [75] mailto:htm...@li... [76] mailto:rb...@rb... [77] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [78] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [79] mailto:Htm...@li... [80] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [81] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [82] mailto:Htm...@li... [83] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [84] mailto:luc...@ti... [85] mailto:luc...@ti... [86] mailto:htm...@li... [87] http://www.cbs.dtu.dk/services/SignalP [88] http://logger.info/ [89] http://logger.info/ [90] http://logger.info/ [91] mailto:asa...@ya... [92] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [93] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [94] mailto:Htm...@li... [95] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [96] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [97] mailto:Htm...@li... [98] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [99] http://www.cbs.dtu.dk/services/SignalP [100] http://logger.info/ [101] mailto:asa...@ya... [102] http://k.ilius.net/?mtcmk=739565&fsid=080 Tiscali Incontri by Meetic Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 |
From: Ahmed A. <asa...@ya...> - 2013-10-11 11:06:22
|
We need to speak the same language (Java :)) Please use latest 2.13 with Java project and advise. Ahmed ________________________________ From: "luc...@ti..." <luc...@ti...> To: htm...@li... Sent: Friday, October 11, 2013 1:59 PM Subject: Re: [Htmlunit-user] "SEVERE: runtimeError ..." when running button.click() HtmlPage signalPPage = >>> >"http://www.cbs.dtu.dk/services/SignalP [15]"; String buttonPath = "html/body/table/tbody/tr/td[@valign='top']/table/tbody/tr/td/form/p/input[@type='submit']"; logger.info [16] [1]("BUTTON PATH " + buttonPath.toString()); List buttonPathSubmit = signalPPage.getByXPath(buttonPath); HtmlElement button = (HtmlElement) buttonPathSubmit.get(0); logger.info [17][2]("BUTTON" + button.asXml()); HtmlPage result = (HtmlPage) button.click(); logger.info [18] [3]("RESULT " + result.asXml()); This is my code, is equal to your. Why not run correctly ? 2013/10/11 Ahmed Ashour <asa...@ya...> Hi, > > > HtmlPage signalPPage = new WebClient().getPage( "http://www.cbs.dtu.dk/services/SignalP"); > String buttonPath = "html/body/table/tbody/tr/td[@valign='top']/table/tbody/tr/td/form/p/input[@type='submit']"; > System.out.println("BUTTON PATH " + buttonPath.toString()); > List<?> buttonPathSubmit = signalPPage.getByXPath(buttonPath); > HtmlElement button = (HtmlElement) buttonPathSubmit.get(0); > System.out.println("BUTTON " + button.asXml()); > HtmlPage result = (HtmlPage) button.click(); > > System.out.println("RESULT " + result.asXml()); >Ahmed > >________________________________ >From: "luc...@ti..." <luc...@ti...> >To: htm...@li... >Sent: Thursday, October 10, 2013 10:03 PM >Subject: Re: [Htmlunit-user] "SEVERE: runtimeError ..." when running button.click() > > > >Yes I used all libraries: > * cddparser-0.9.11.jar > * htmlunit-core-js-2.13.jar > * nekohtml-1.9.19.jar > * httpclient-4.3.1.jar >Can you send me a piece of your code, please ? > > > >2013/10/10 Ronald Brill <rb...@rb...> > >Works fine here with FF17. >>Are you sure, you have used all the libs form the latest build (CSSParser, Core-JS, Neko, Httpclient) >> >> RBRi >> >> >> >>On Thu, 10 Oct 2013 20:32:08 +0200 luc...@ti... wrote: >>> >>> >>> >>>Hi, I use Firefox 17. >>> >>>I do: WebClient webClient = new >>>WebClient(BrowserVersion.FIREFOX_17); >>> >>>What is the default browser ? >>> >>> >>>2013/10/10 Ahmed Ashour >>> >>>> Hi, >>>> Which browser you use? Default one >>>doesn't give an error. >>>> >>>> Ahmed >>>> >>>> On Oct 10, 2013, at 8:02 PM, >>>luc...@ti... [28] wrote: >>>> >>>>> Tried but the error doesn't >>>change. >>>>> >>>>> Any suggestion ? >>>>> >>>>> 2013/10/10 >>>>> >>> No I >>>downloaded version 2.12 from http://htmlunit.sourceforge.net [8] >> >>>>> >>>>> >>>Now I will try with "htmlunit-2.13-SNAPSHOT-with-dependencies.zip" >>>version >>>>> >>> 2013/10/10 Ronald Brill Invia [10] >>>>> Did you use the >>>latest build from http://build.canoo.com/htmlunit/ [11]? >>>>> >>>>> RBRi >>>>> >>> >>>>> On Thu, 10 Oct 2013 18:03:53 +0200 luc...@ti... [12] >> >>>wrote: >>>>> > >>>>> > >>>>> > >>>>> >Hi all, >>>>> > >>>>> >when i submit a form with >>>button.click() I get following >>>>> >error: >>>>> > >>>>> >SEVERE: runtimeError: >>>message=[An invalid or illegal selector >>>>> >was specified (selector: >>>'*,:x' error: Invalid selector: *:x).] >>>>> >>sourceName=[http://code.jquery.com/jquery-1.10.1.min.js [13]] >> >>>line=[4] >>>>> >lineSource=[null] lineOffset=[0] >>>>> > >>>>> >The site is >>>>> >>http://www.cbs.dtu.dk/services/SignalP [14] and the button is >> >>>"Submit". >>>>> > >>>>> > >>>>> >Below the code i wrote: >>>>> > >>>>> >HtmlPage >>>signalPPage = >>> >"http://www.cbs.dtu.dk/services/SignalP [15]"; >> >>>>> > >>>>> >>>>String buttonPath = >>>>> >>>>"html/body/table/tbody/tr/td[@valign='top']/table/tbody/tr/td/form/p/input[@type='submit']"; >>>>> >>>> >>>>> >>>> logger.info [16] [1]("BUTTON PATH " + >> >>>buttonPath.toString()); >>>>> > List >>>>>> buttonPathSubmit = >>>signalPPage.getByXPath(buttonPath); >>>>> > HtmlElement >>>>> >button = >>>(HtmlElement) buttonPathSubmit.get(0); >>>>> >>>> logger.info [17] >> >>>[2]("BUTTON >>>>>> " + button.asXml()); >>>>> > HtmlPage result = (HtmlPage) >>>button.click(); >>>>> > >>>>> >>>> logger.info [18] [3]("RESULT " + >> >>>result.asXml()); >>>>>> >>>>> >Could someone help me ? >>>>> > >>>>> > >>>>> >Tiscali >>>Incontri by Meetic >>>>> > Offerta esclusiva pensata per te: 7 giorni >>>>> >>>>gratis per fare nuovi incontri! >>>>> >>>>>> >http://k.ilius.net/?mtcmk=739565&fsid=080 [19] [4] >>>>> > >>>>> > >>>>> > >>>>> >>>>Links: >>>>> >------ >>>>> >[1] >>>>> >http://logger.info [20] >>>>> >[2] >>>http://logger.info [21] >>>>> >[3] http://logger.info [22] >>>>> >[4] >>>>> >>>>http://k.ilius.net/?mtcmk=739565&fsid=080 [23] >> >>>>>> >>>>> > >>>>> >Tiscali >>>Incontri by Meetic >>>>> >Offerta esclusiva pensata per te: 7 giorni gratis >>>per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 >[24] >> >>>>> > >>>>> > >>>>> >>>>> ------------------------------ >>>>> >>>>>> >>>------------------------------------------------ >>>>>> October Webinars: >>>Code for Performance >>>>>> Free Intel webinars can help you accelerate >>>application performance. >>>>>> Explore tips for MPI, OpenMP, advanced >>>profiling, and more. Get the most from >>>>>> the latest Intel processors >>>and coprocessors. See abstracts and register > >>>>>> >>>http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >[1] >> >>>>>> _______________________________________________ >>>>>> >>>Htmlunit-user mailing list >>>>>> Htm...@li... >[2] >>>>>> https://lists.sourceforge.net/lists/listinfo/htmlunit-user >>>[3] >> >>>>> >>>>> Tiscali Incontri by Meetic >>>>> Offerta esclusiva pensata per >>>te: 7 giorni gratis per fare nuovi incontri! >http://k.ilius.net/?mtcmk=739565&fsid=080 [25] >> >>>>> >>>>> >>>------------------------------ >>>>> >>>>>> >>>------------------------------------------------ >>>>>> October Webinars: >>>Code for Performance >>>>>> Free Intel webinars can help you accelerate >>>application performance. >>>>>> Explore tips for MPI, OpenMP, advanced >>>profiling, and more. Get the most from >>>>>> the latest Intel processors >>>and coprocessors. See abstracts and register > >>>>>> >>>http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >[4] >> >>>>>> _______________________________________________ >>>>>> >>>Htmlunit-user mailing list >>>>>> Htm...@li... >[5] >>>>>> https://lists.sourceforge.net/lists/listinfo/htmlunit-user >>>[6] >> >>>>> >>>>> Tiscali Incontri by Meetic >>>>> Offerta esclusiva pensata per >>>te: 7 giorni gratis per fare nuovi incontri! >http://k.ilius.net/?mtcmk=739565&fsid=080 [26] >> >>>> >>>>> >>>------------------------------------------------------------------------------ >>> >>>>> >>>>> October Webinars: Code for Performance >>>>> Free Intel webinars >>>can help you accelerate application performance. >>>>> Explore tips for >>>MPI, OpenMP, advanced profiling, and more. Get the most from >>>>> the >>>latest Intel processors and coprocessors. See abstracts and register >>>> >>>>> >>>http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >[27] >>>> >>>> _______________________________________________ >>>> >>>Htmlunit-user mailing list >>>> Htm...@li... [29] >>>> >>>https://lists.sourceforge.net/lists/listinfo/htmlunit-user [30] >> >>>> >>>------------------------------------------------------------------------------ >>>> >>>October Webinars: Code for Performance >>>> Free Intel webinars can help >>>you accelerate application performance. >>>> Explore tips for MPI, OpenMP, >>>advanced profiling, and more. Get the most from >>>> the latest Intel >>>processors and coprocessors. See abstracts and register > >>>> >>>http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >[31] >>>> _______________________________________________ >>>> Htmlunit-user >>>mailing list >>>> Htm...@li... [32] >>>> >>>https://lists.sourceforge.net/lists/listinfo/htmlunit-user [33] >> >>>> >>>>> >>> >>> >>>Tiscali Incontri by Meetic >>> Offerta esclusiva pensata per te: 7 giorni >>>gratis per fare nuovi incontri! >http://k.ilius.net/?mtcmk=739565&fsid=080 [35] >>> >>> >>> >>>Links: >>>------ >>>[1] >>>http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk >>>[2] >>>mailto:Htm...@li... >>>[3] >>>https://lists.sourceforge.net/lists/listinfo/htmlunit-user >>>[4] >>>http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk >>>[5] >>>mailto:Htm...@li... >>>[6] >>>https://lists.sourceforge.net/lists/listinfo/htmlunit-user >>>[7] >>>mailto:luc...@ti... >>>[8] http://htmlunit.sourceforge.net >>>[9] >>>mailto:rb...@rb... >>>[10] >>>http://mail.tiscali.it/?_task=mail|+|amp|+|_id=2747168595256d7a90d0bd|+|amp|+|_action=compose# >>>[11] >>>http://build.canoo.com/htmlunit/ >>>[12] mailto:luc...@ti... >>>[13] >>>http://code.jquery.com/jquery-1.10.1.min.js >>>[14] >>>http://www.cbs.dtu.dk/services/SignalP >>>[15] >>>http://www.cbs.dtu.dk/services/SignalP >>>[16] http://logger.info >>>[17] >>>http://logger.info >>>[18] http://logger.info >>>[19] >>>http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 >>>[20] >>>http://logger.info >>>[21] http://logger.info >>>[22] http://logger.info >>>[23] >>>http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 >>>[24] >>>http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 >>>[25] >>>http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 >>>[26] >>>http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 >>>[27] >>>http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk >>>[28] >>>mailto:luc...@ti... >>>[29] >>>mailto:Htm...@li... >>>[30] >>>https://lists.sourceforge.net/lists/listinfo/htmlunit-user >>>[31] >>>http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk >>>[32] >>>mailto:Htm...@li... >>>[33] >>>https://lists.sourceforge.net/lists/listinfo/htmlunit-user >>>[34] >>>mailto:asa...@ya... >>>[35] >> >>>http://k.ilius.net/?mtcmk=739565&fsid=080 >>> >>> >>>Tiscali Incontri by Meetic >>>Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 >>> >>> >>------------------------------------------------------------------------------ >>October Webinars: Code for Performance >>Free Intel webinars can help you accelerate application performance. >>Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from >>the latest Intel processors and coprocessors. See abstracts and register > >>http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >>_______________________________________________ >>Htmlunit-user mailing list >>Htm...@li... >>https://lists.sourceforge.net/lists/listinfo/htmlunit-user > >Tiscali Incontri by Meetic >Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 > > >------------------------------------------------------------------------------ >October Webinars: Code for Performance >Free Intel webinars can help you accelerate application performance. >Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from >the latest Intel processors and coprocessors. See abstracts and register > >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >_______________________________________________ >Htmlunit-user mailing list >Htm...@li... >https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > > >------------------------------------------------------------------------------ >October Webinars: Code for Performance >Free Intel webinars can help you accelerate application performance. >Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from >the latest Intel processors and coprocessors. See abstracts and register > >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >_______________________________________________ >Htmlunit-user mailing list >Htm...@li... >https://lists.sourceforge.net/lists/listinfo/htmlunit-user Tiscali Incontri by Meetic Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: <luc...@ti...> - 2013-10-11 10:59:26
|
HtmlPage signalPPage = >>> >"http://www.cbs.dtu.dk/services/SignalP [84] [15]"; String buttonPath = "html/body/table/tbody/tr/td[@valign='top']/table/tbody/tr/td/form/p/input[@type='submit']"; logger.info [85] [16] [1]("BUTTON PATH " + buttonPath.toString()); List buttonPathSubmit = signalPPage.getByXPath(buttonPath); HtmlElement button = (HtmlElement) buttonPathSubmit.get(0); logger.info [86] [17][2]("BUTTON" + button.asXml()); HtmlPage result = (HtmlPage) button.click(); logger.info [87] [18] [3]("RESULT " + result.asXml()); This is my code, is equal to your. Why not run correctly ? 2013/10/11 Ahmed Ashour > Hi, > > HtmlPage signalPPage = new WebClient().getPage( "http://www.cbs.dtu.dk/services/SignalP [72]"); > > String buttonPath = "html/body/table/tbody/tr/td[@valign='top']/table/tbody/tr/td/form/p/input[@type='submit']"; > System.out.println("BUTTON PATH " + buttonPath.toString()); > List buttonPathSubmit = signalPPage.getByXPath(buttonPath); > > HtmlElement button = (HtmlElement) buttonPathSubmit.get(0); > System.out.println("BUTTON " + button.asXml()); > > HtmlPage result = (HtmlPage) button.click(); > > System.out.println("RESULT " + result.asXml()); > Ahmed > > ------------------------- > FROM: "luc...@ti... [73]" > TO: htm...@li... [75] > SENT: Thursday, October 10, 2013 10:03 PM > SUBJECT: Re: [Htmlunit-user] "SEVERE: runtimeError ..." when running button.click() > > Yes I used all libraries: > > * cddparser-0.9.11.jar > * htmlunit-core-js-2.13.jar > * nekohtml-1.9.19.jar > * httpclient-4.3.1.jar > > Can you send me a piece of your code, please ? > > 2013/10/10 Ronald Brill > >> Works fine here with FF17. >> Are you sure, you have used all the libs form the latest build (CSSParser, Core-JS, Neko, Httpclient) >> >> RBRi >> >> On Thu, 10 Oct 2013 20:32:08 +0200 luc...@ti... [1] wrote: >> > >> > >> > >> >Hi, I use Firefox 17. >> > >> >I do: WebClient webClient = new >> >WebClient(BrowserVersion.FIREFOX_17); >> > >> >What is the default browser ? >> > >> > >> >2013/10/10 Ahmed Ashour >> > >>>> Hi, >> >> Which browser you use? Default one >> >doesn't give an error. >> >> >> >> Ahmed >> >> >> >> On Oct 10, 2013, at 8:02 PM, >>> luc...@ti... [2] [28] wrote: >> >> >> >>> Tried but the error doesn't >> >change. >> >>> >> >>> Any suggestion ? >> >>> >> >>> 2013/10/10 >> >>> >>> No I >> >downloaded version 2.12 from http://htmlunit.sourceforge.net [3] [8] >> >>>>> >> >>> >> >Now I will try with "htmlunit-2.13-SNAPSHOT-with-dependencies.zip" >> >version >> >>> >>> 2013/10/10 Ronald Brill Invia [10] >> >>> Did you use the >> >latest build from http://build.canoo.com/htmlunit/ [4] [11]? >> >>> >> >>> RBRi >> >>> >> > >> >>> On Thu, 10 Oct 2013 18:03:53 +0200 luc...@ti... [5] [12] >> >>> wrote: >> >>> > >> >>> > >> >>> > >> >>> >Hi all, >> >>> > >> >>> >when i submit a form with >> >button.click() I get following >> >>> >error: >> >>> > >> >>> >SEVERE: runtimeError: >> >message=[An invalid or illegal selector >> >>> >was specified (selector: >> >'*,:x' error: Invalid selector: *:x).] >> >>> >>sourceName=[http://code.jquery.com/jquery-1.10.1.min.js [6] [13]] >> >>> line=[4] >> >>> >lineSource=[null] lineOffset=[0] >> >>> > >> >>> >The site is >> >>> >>http://www.cbs.dtu.dk/services/SignalP [7] [14] and the button is >> >>> "Submit". >> >>> > >> >>> > >> >>> >Below the code i wrote: >> >>> > >> >>> >HtmlPage >> >signalPPage = >>> >"http://www.cbs.dtu.dk/services/SignalP [8] [15]"; >> >>>>> > >> >>> >> >>String buttonPath = >> >>> >> >>"html/body/table/tbody/tr/td[@valign='top']/table/tbody/tr/td/form/p/input[@type='submit']"; >> >>> >> >> >> >>> >>>> logger.info [9] [16] [1]("BUTTON PATH " + >> >>> buttonPath.toString()); >> >>> > List >> >>>> buttonPathSubmit = >> >signalPPage.getByXPath(buttonPath); >> >>> > HtmlElement >> >>> >button = >> >(HtmlElement) buttonPathSubmit.get(0); >> >>> >>>> logger.info [10] [17] >> >>> [2]("BUTTON >> >>>> " + button.asXml()); >> >>> > HtmlPage result = (HtmlPage) >> >button.click(); >> >>> > >> >>> >>>> logger.info [11] [18] [3]("RESULT " + >> >>> result.asXml()); >> >>>> >> >>> >Could someone help me ? >> >>> > >> >>> > >> >>> >Tiscali >> >Incontri by Meetic >> >>> > Offerta esclusiva pensata per te: 7 giorni >> >>> >> >>gratis per fare nuovi incontri! >> >>> >> >>>> >http://k.ilius.net/?mtcmk=739565&fsid=080 [12] [19] [4] >> >>> > >> >>> > >> >>> > >> >>> >> >>Links: >> >>> >------ >> >>> >[1] >> >>> >http://logger.info [13] [20] >> >>> >[2] >> >http://logger.info [14] [21] >> >>> >[3] http://logger.info [15] [22] >> >>> >[4] >> >>> >> >>http://k.ilius.net/?mtcmk=739565&fsid=080 [16] [23] >> >>>>>> >> >>> > >> >>> >Tiscali >> >Incontri by Meetic >> >>> >Offerta esclusiva pensata per te: 7 giorni gratis >> >per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 [17] >[24] >> >>>>> > >> >>> > >> >>> >> >>> ------------------------------ >> >>> >> >>>> >> >------------------------------------------------ >> >>>> October Webinars: >> >Code for Performance >> >>>> Free Intel webinars can help you accelerate >> >application performance. >> >>>> Explore tips for MPI, OpenMP, advanced >> >profiling, and more. Get the most from >> >>>> the latest Intel processors >> >and coprocessors. See abstracts and register > >> >>>> >> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [18] >[1] >> >>>>>> _______________________________________________ >> >>>> >> >Htmlunit-user mailing list >> >>>> Htm...@li... [19] >[2] >> >>>> https://lists.sourceforge.net/lists/listinfo/htmlunit-user [20] >> >[3] >> >>>>> >> >>> Tiscali Incontri by Meetic >> >>> Offerta esclusiva pensata per >> >te: 7 giorni gratis per fare nuovi incontri! >http://k.ilius.net/?mtcmk=739565&fsid=080 [21] [25] >> >>>>> >> >>> >> >------------------------------ >> >>> >> >>>> >> >------------------------------------------------ >> >>>> October Webinars: >> >Code for Performance >> >>>> Free Intel webinars can help you accelerate >> >application performance. >> >>>> Explore tips for MPI, OpenMP, advanced >> >profiling, and more. Get the most from >> >>>> the latest Intel processors >> >and coprocessors. See abstracts and register > >> >>>> >> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [22] >[4] >> >>>>>> _______________________________________________ >> >>>> >> >Htmlunit-user mailing list >> >>>> Htm...@li... [23] >[5] >> >>>> https://lists.sourceforge.net/lists/listinfo/htmlunit-user [24] >> >[6] >> >>>>> >> >>> Tiscali Incontri by Meetic >> >>> Offerta esclusiva pensata per >> >te: 7 giorni gratis per fare nuovi incontri! >http://k.ilius.net/?mtcmk=739565&fsid=080 [25] [26] >> >>>> >> >>> >> >------------------------------------------------------------------------------ >> > >> >>> >> >>> October Webinars: Code for Performance >> >>> Free Intel webinars >> >can help you accelerate application performance. >> >>> Explore tips for >> >MPI, OpenMP, advanced profiling, and more. Get the most from >> >>> the >> >latest Intel processors and coprocessors. See abstracts and register >> >> >> >>> >> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [26] >[27] >> >> >> >> _______________________________________________ >> >> >> >Htmlunit-user mailing list >> >> Htm...@li... [27] [29] >> >> >> >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [28] [30] >> >>>> >> >------------------------------------------------------------------------------ >> >> >> >October Webinars: Code for Performance >> >> Free Intel webinars can help >> >you accelerate application performance. >> >> Explore tips for MPI, OpenMP, >> >advanced profiling, and more. Get the most from >> >> the latest Intel >> >processors and coprocessors. See abstracts and register > >> >> >> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [29] >[31] >> >> _______________________________________________ >> >> Htmlunit-user >> >mailing list >> >> Htm...@li... [30] [32] >> >> >> >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [31] [33] >> >>>> >> >>> >> > >> > >> >Tiscali Incontri by Meetic >> > Offerta esclusiva pensata per te: 7 giorni >> >gratis per fare nuovi incontri! >http://k.ilius.net/?mtcmk=739565&fsid=080 [32] [35] >> > >> > >> > >> >Links: >> >------ >> >[1] >> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [33] >> >[2] >> >mailto:Htm...@li... [34] >> >[3] >> >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [35] >> >[4] >> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [36] >> >[5] >> >mailto:Htm...@li... [37] >> >[6] >> >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [38] >> >[7] >> >mailto:luc...@ti... [39] >> >[8] http://htmlunit.sourceforge.net [40] >> >[9] >> >mailto:rb...@rb... [41] >> >[10] >> >http://mail.tiscali.it/?_task=mail&_id=2747168595256d7a90d0bd&_action=compose# [42] >> >[11] >> >http://build.canoo.com/htmlunit/ [43] >> >[12] mailto:luc...@ti... [44] >> >[13] >> >http://code.jquery.com/jquery-1.10.1.min.js [45] >> >[14] >> >http://www.cbs.dtu.dk/services/SignalP [46] >> >[15] >> >http://www.cbs.dtu.dk/services/SignalP [47] >> >[16] http://logger.info [48] >> >[17] >> >http://logger.info [49] >> >[18] http://logger.info [50] >> >[19] >> >http://k.ilius.net/?mtcmk=739565&fsid=080 [51] >> >[20] >> >http://logger.info [52] >> >[21] http://logger.info [53] >> >[22] http://logger.info [54] >> >[23] >> >http://k.ilius.net/?mtcmk=739565&fsid=080 [55] >> >[24] >> >http://k.ilius.net/?mtcmk=739565&fsid=080 [56] >> >[25] >> >http://k.ilius.net/?mtcmk=739565&fsid=080 [57] >> >[26] >> >http://k.ilius.net/?mtcmk=739565&fsid=080 [58] >> >[27] >> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [59] >> >[28] >> >mailto:luc...@ti... [60] >> >[29] >> >mailto:Htm...@li... [61] >> >[30] >> >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [62] >> >[31] >> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [63] >> >[32] >> >mailto:Htm...@li... [64] >> >[33] >> >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [65] >> >[34] >> >mailto:asa...@ya... [66] >> >[35] >> >>> http://k.ilius.net/?mtcmk=739565&fsid=080 [67] >> > >> > >> >Tiscali Incontri by Meetic >> >Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 [68] >> > >> > >> >> ------------------------------------------------------------------------------ >> October Webinars: Code for Performance >> Free Intel webinars can help you accelerate application performance. >> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from >> the latest Intel processors and coprocessors. See abstracts and register > >> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [69] >> _______________________________________________ >> Htmlunit-user mailing list >> Htm...@li... [70] >> https://lists.sourceforge.net/lists/listinfo/htmlunit-user [71] > > Tiscali Incontri by Meetic > Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 [77] > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [78] > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... [79] > https://lists.sourceforge.net/lists/listinfo/htmlunit-user [80] > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [81] > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... [82] > https://lists.sourceforge.net/lists/listinfo/htmlunit-user [83] Tiscali Incontri by Meetic Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 [89] Links: ------ [1] mailto:luc...@ti... [2] mailto:luc...@ti... [3] http://htmlunit.sourceforge.net/ [4] http://build.canoo.com/htmlunit/ [5] mailto:luc...@ti... [6] http://code.jquery.com/jquery-1.10.1.min.js [7] http://www.cbs.dtu.dk/services/SignalP [8] http://www.cbs.dtu.dk/services/SignalP [9] http://logger.info/ [10] http://logger.info/ [11] http://logger.info/ [12] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [13] http://logger.info/ [14] http://logger.info/ [15] http://logger.info/ [16] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [17] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [18] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [19] mailto:Htm...@li... [20] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [21] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [22] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [23] mailto:Htm...@li... [24] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [25] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [26] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [27] mailto:Htm...@li... [28] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [29] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [30] mailto:Htm...@li... [31] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [32] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [33] http://pubads.g.doubleclick.net/gampad/clk?id=60134071%7C+%7Camp%7C+%7Ciu=/4140/ostg.clktrk [34] mailto:Htm...@li... [35] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [36] http://pubads.g.doubleclick.net/gampad/clk?id=60134071%7C+%7Camp%7C+%7Ciu=/4140/ostg.clktrk [37] mailto:Htm...@li... [38] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [39] mailto:luc...@ti... [40] http://htmlunit.sourceforge.net/ [41] mailto:rb...@rb... [42] http://mail.tiscali.it/?_task=mail%7C+%7Camp%7C+%7C_id=2747168595256d7a90d0bd%7C+%7Camp%7C+%7C_action=compose# [43] http://build.canoo.com/htmlunit/ [44] mailto:luc...@ti... [45] http://code.jquery.com/jquery-1.10.1.min.js [46] http://www.cbs.dtu.dk/services/SignalP [47] http://www.cbs.dtu.dk/services/SignalP [48] http://logger.info/ [49] http://logger.info/ [50] http://logger.info/ [51] http://k.ilius.net/?mtcmk=739565%7C+%7Camp%7C+%7Cfsid=080 [52] http://logger.info/ [53] http://logger.info/ [54] http://logger.info/ [55] http://k.ilius.net/?mtcmk=739565%7C+%7Camp%7C+%7Cfsid=080 [56] http://k.ilius.net/?mtcmk=739565%7C+%7Camp%7C+%7Cfsid=080 [57] http://k.ilius.net/?mtcmk=739565%7C+%7Camp%7C+%7Cfsid=080 [58] http://k.ilius.net/?mtcmk=739565%7C+%7Camp%7C+%7Cfsid=080 [59] http://pubads.g.doubleclick.net/gampad/clk?id=60134071%7C+%7Camp%7C+%7Ciu=/4140/ostg.clktrk [60] mailto:luc...@ti... [61] mailto:Htm...@li... [62] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [63] http://pubads.g.doubleclick.net/gampad/clk?id=60134071%7C+%7Camp%7C+%7Ciu=/4140/ostg.clktrk [64] mailto:Htm...@li... [65] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [66] mailto:asa...@ya... [67] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [68] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [69] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [70] mailto:Htm...@li... [71] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [72] http://www.cbs.dtu.dk/services/SignalP [73] mailto:luc...@ti... [74] mailto:luc...@ti... [75] mailto:htm...@li... [76] mailto:rb...@rb... [77] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [78] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [79] mailto:Htm...@li... [80] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [81] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [82] mailto:Htm...@li... [83] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [84] http://www.cbs.dtu.dk/services/SignalP [85] http://logger.info/ [86] http://logger.info/ [87] http://logger.info/ [88] mailto:asa...@ya... [89] http://k.ilius.net/?mtcmk=739565&fsid=080 Tiscali Incontri by Meetic Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 |
From: Ahmed A. <asa...@ya...> - 2013-10-11 04:15:27
|
Hi all, It is a pleasure to announce the availability of a HtmlUnit 2.13. The new version contains many fixes, which you can view at http://htmlunit.sourceforge.net/changes-report.html#a2.13 Central Maven Repository may take few hours to be updated. Thanks to all the contributors. Happy coding! Ahmed Ashour |
From: Ahmed A. <asa...@ya...> - 2013-10-11 01:18:32
|
Hi, HtmlPage signalPPage = new WebClient().getPage( "http://www.cbs.dtu.dk/services/SignalP"); String buttonPath = "html/body/table/tbody/tr/td[@valign='top']/table/tbody/tr/td/form/p/input[@type='submit']"; System.out.println("BUTTON PATH " + buttonPath.toString()); List<?> buttonPathSubmit = signalPPage.getByXPath(buttonPath); HtmlElement button = (HtmlElement) buttonPathSubmit.get(0); System.out.println("BUTTON " + button.asXml()); HtmlPage result = (HtmlPage) button.click(); System.out.println("RESULT " + result.asXml()); Ahmed ________________________________ From: "luc...@ti..." <luc...@ti...> To: htm...@li... Sent: Thursday, October 10, 2013 10:03 PM Subject: Re: [Htmlunit-user] "SEVERE: runtimeError ..." when running button.click() Yes I used all libraries: * cddparser-0.9.11.jar * htmlunit-core-js-2.13.jar * nekohtml-1.9.19.jar * httpclient-4.3.1.jar Can you send me a piece of your code, please ? 2013/10/10 Ronald Brill <rb...@rb...> Works fine here with FF17. >Are you sure, you have used all the libs form the latest build (CSSParser, Core-JS, Neko, Httpclient) > > RBRi > > > >On Thu, 10 Oct 2013 20:32:08 +0200 luc...@ti... wrote: >> >> >> >>Hi, I use Firefox 17. >> >>I do: WebClient webClient = new >>WebClient(BrowserVersion.FIREFOX_17); >> >>What is the default browser ? >> >> >>2013/10/10 Ahmed Ashour >> >>> Hi, >>> Which browser you use? Default one >>doesn't give an error. >>> >>> Ahmed >>> >>> On Oct 10, 2013, at 8:02 PM, >>luc...@ti... [28] wrote: >>> >>>> Tried but the error doesn't >>change. >>>> >>>> Any suggestion ? >>>> >>>> 2013/10/10 >>>> >>> No I >>downloaded version 2.12 from http://htmlunit.sourceforge.net [8] > >>>> >>>> >>Now I will try with "htmlunit-2.13-SNAPSHOT-with-dependencies.zip" >>version >>>> >>> 2013/10/10 Ronald Brill Invia [10] >>>> Did you use the >>latest build from http://build.canoo.com/htmlunit/ [11]? >>>> >>>> RBRi >>>> >> >>>> On Thu, 10 Oct 2013 18:03:53 +0200 luc...@ti... [12] > >>wrote: >>>> > >>>> > >>>> > >>>> >Hi all, >>>> > >>>> >when i submit a form with >>button.click() I get following >>>> >error: >>>> > >>>> >SEVERE: runtimeError: >>message=[An invalid or illegal selector >>>> >was specified (selector: >>'*,:x' error: Invalid selector: *:x).] >>>> >>sourceName=[http://code.jquery.com/jquery-1.10.1.min.js [13]] > >>line=[4] >>>> >lineSource=[null] lineOffset=[0] >>>> > >>>> >The site is >>>> >>http://www.cbs.dtu.dk/services/SignalP [14] and the button is > >>"Submit". >>>> > >>>> > >>>> >Below the code i wrote: >>>> > >>>> >HtmlPage >>signalPPage = >>> >"http://www.cbs.dtu.dk/services/SignalP [15]"; > >>>> > >>>> >>>String buttonPath = >>>> >>>"html/body/table/tbody/tr/td[@valign='top']/table/tbody/tr/td/form/p/input[@type='submit']"; >>>> >>> >>>> >>>> logger.info [16] [1]("BUTTON PATH " + > >>buttonPath.toString()); >>>> > List >>>>> buttonPathSubmit = >>signalPPage.getByXPath(buttonPath); >>>> > HtmlElement >>>> >button = >>(HtmlElement) buttonPathSubmit.get(0); >>>> >>>> logger.info [17] > >>[2]("BUTTON >>>>> " + button.asXml()); >>>> > HtmlPage result = (HtmlPage) >>button.click(); >>>> > >>>> >>>> logger.info [18] [3]("RESULT " + > >>result.asXml()); >>>>> >>>> >Could someone help me ? >>>> > >>>> > >>>> >Tiscali >>Incontri by Meetic >>>> > Offerta esclusiva pensata per te: 7 giorni >>>> >>>gratis per fare nuovi incontri! >>>> >>>>> >http://k.ilius.net/?mtcmk=739565&fsid=080 [19] [4] >>>> > >>>> > >>>> > >>>> >>>Links: >>>> >------ >>>> >[1] >>>> >http://logger.info [20] >>>> >[2] >>http://logger.info [21] >>>> >[3] http://logger.info [22] >>>> >[4] >>>> >>>http://k.ilius.net/?mtcmk=739565&fsid=080 [23] > >>>>> >>>> > >>>> >Tiscali >>Incontri by Meetic >>>> >Offerta esclusiva pensata per te: 7 giorni gratis >>per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 >[24] > >>>> > >>>> > >>>> >>>> ------------------------------ >>>> >>>>> >>------------------------------------------------ >>>>> October Webinars: >>Code for Performance >>>>> Free Intel webinars can help you accelerate >>application performance. >>>>> Explore tips for MPI, OpenMP, advanced >>profiling, and more. Get the most from >>>>> the latest Intel processors >>and coprocessors. See abstracts and register > >>>>> >>http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >[1] > >>>>> _______________________________________________ >>>>> >>Htmlunit-user mailing list >>>>> Htm...@li... >[2] >>>>> https://lists.sourceforge.net/lists/listinfo/htmlunit-user >>[3] > >>>> >>>> Tiscali Incontri by Meetic >>>> Offerta esclusiva pensata per >>te: 7 giorni gratis per fare nuovi incontri! >http://k.ilius.net/?mtcmk=739565&fsid=080 [25] > >>>> >>>> >>------------------------------ >>>> >>>>> >>------------------------------------------------ >>>>> October Webinars: >>Code for Performance >>>>> Free Intel webinars can help you accelerate >>application performance. >>>>> Explore tips for MPI, OpenMP, advanced >>profiling, and more. Get the most from >>>>> the latest Intel processors >>and coprocessors. See abstracts and register > >>>>> >>http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >[4] > >>>>> _______________________________________________ >>>>> >>Htmlunit-user mailing list >>>>> Htm...@li... >[5] >>>>> https://lists.sourceforge.net/lists/listinfo/htmlunit-user >>[6] > >>>> >>>> Tiscali Incontri by Meetic >>>> Offerta esclusiva pensata per >>te: 7 giorni gratis per fare nuovi incontri! >http://k.ilius.net/?mtcmk=739565&fsid=080 [26] > >>> >>>> >>------------------------------------------------------------------------------ >> >>>> >>>> October Webinars: Code for Performance >>>> Free Intel webinars >>can help you accelerate application performance. >>>> Explore tips for >>MPI, OpenMP, advanced profiling, and more. Get the most from >>>> the >>latest Intel processors and coprocessors. See abstracts and register >>> >>>> >>http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >[27] >>> >>> _______________________________________________ >>> >>Htmlunit-user mailing list >>> Htm...@li... [29] >>> >>https://lists.sourceforge.net/lists/listinfo/htmlunit-user [30] > >>> >>------------------------------------------------------------------------------ >>> >>October Webinars: Code for Performance >>> Free Intel webinars can help >>you accelerate application performance. >>> Explore tips for MPI, OpenMP, >>advanced profiling, and more. Get the most from >>> the latest Intel >>processors and coprocessors. See abstracts and register > >>> >>http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >[31] >>> _______________________________________________ >>> Htmlunit-user >>mailing list >>> Htm...@li... [32] >>> >>https://lists.sourceforge.net/lists/listinfo/htmlunit-user [33] > >>> >>>> >> >> >>Tiscali Incontri by Meetic >> Offerta esclusiva pensata per te: 7 giorni >>gratis per fare nuovi incontri! >http://k.ilius.net/?mtcmk=739565&fsid=080 [35] >> >> >> >>Links: >>------ >>[1] >>http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk >>[2] >>mailto:Htm...@li... >>[3] >>https://lists.sourceforge.net/lists/listinfo/htmlunit-user >>[4] >>http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk >>[5] >>mailto:Htm...@li... >>[6] >>https://lists.sourceforge.net/lists/listinfo/htmlunit-user >>[7] >>mailto:luc...@ti... >>[8] http://htmlunit.sourceforge.net >>[9] >>mailto:rb...@rb... >>[10] >>http://mail.tiscali.it/?_task=mail|+|amp|+|_id=2747168595256d7a90d0bd|+|amp|+|_action=compose# >>[11] >>http://build.canoo.com/htmlunit/ >>[12] mailto:luc...@ti... >>[13] >>http://code.jquery.com/jquery-1.10.1.min.js >>[14] >>http://www.cbs.dtu.dk/services/SignalP >>[15] >>http://www.cbs.dtu.dk/services/SignalP >>[16] http://logger.info >>[17] >>http://logger.info >>[18] http://logger.info >>[19] >>http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 >>[20] >>http://logger.info >>[21] http://logger.info >>[22] http://logger.info >>[23] >>http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 >>[24] >>http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 >>[25] >>http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 >>[26] >>http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 >>[27] >>http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk >>[28] >>mailto:luc...@ti... >>[29] >>mailto:Htm...@li... >>[30] >>https://lists.sourceforge.net/lists/listinfo/htmlunit-user >>[31] >>http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk >>[32] >>mailto:Htm...@li... >>[33] >>https://lists.sourceforge.net/lists/listinfo/htmlunit-user >>[34] >>mailto:asa...@ya... >>[35] > >>http://k.ilius.net/?mtcmk=739565&fsid=080 >> >> >>Tiscali Incontri by Meetic >>Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 >> >> > >------------------------------------------------------------------------------ >October Webinars: Code for Performance >Free Intel webinars can help you accelerate application performance. >Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from >the latest Intel processors and coprocessors. See abstracts and register > >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >_______________________________________________ >Htmlunit-user mailing list >Htm...@li... >https://lists.sourceforge.net/lists/listinfo/htmlunit-user Tiscali Incontri by Meetic Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: <luc...@ti...> - 2013-10-10 19:03:47
|
Yes I used all libraries: * cddparser-0.9.11.jar * htmlunit-core-js-2.13.jar * nekohtml-1.9.19.jar * httpclient-4.3.1.jar Can you send me a piece of your code, please ? 2013/10/10 Ronald Brill > Works fine here with FF17. > Are you sure, you have used all the libs form the latest build (CSSParser, Core-JS, Neko, Httpclient) > > RBRi > > On Thu, 10 Oct 2013 20:32:08 +0200 luc...@ti... [1] wrote: > > > > > > > >Hi, I use Firefox 17. > > > >I do: WebClient webClient = new > >WebClient(BrowserVersion.FIREFOX_17); > > > >What is the default browser ? > > > > > >2013/10/10 Ahmed Ashour > > >>> Hi, > >> Which browser you use? Default one > >doesn't give an error. > >> > >> Ahmed > >> > >> On Oct 10, 2013, at 8:02 PM, >> luc...@ti... [2] [28] wrote: > >> > >>> Tried but the error doesn't > >change. > >>> > >>> Any suggestion ? > >>> > >>> 2013/10/10 > >>> >>> No I > >downloaded version 2.12 from http://htmlunit.sourceforge.net [3] [8] > >>>> > >>> > >Now I will try with "htmlunit-2.13-SNAPSHOT-with-dependencies.zip" > >version > >>> >>> 2013/10/10 Ronald Brill Invia [10] > >>> Did you use the > >latest build from http://build.canoo.com/htmlunit/ [4] [11]? > >>> > >>> RBRi > >>> > > > >>> On Thu, 10 Oct 2013 18:03:53 +0200 luc...@ti... [5] [12] > >> wrote: > >>> > > >>> > > >>> > > >>> >Hi all, > >>> > > >>> >when i submit a form with > >button.click() I get following > >>> >error: > >>> > > >>> >SEVERE: runtimeError: > >message=[An invalid or illegal selector > >>> >was specified (selector: > >'*,:x' error: Invalid selector: *:x).] > >>> >>sourceName=[http://code.jquery.com/jquery-1.10.1.min.js [6] [13]] > >> line=[4] > >>> >lineSource=[null] lineOffset=[0] > >>> > > >>> >The site is > >>> >>http://www.cbs.dtu.dk/services/SignalP [7] [14] and the button is > >> "Submit". > >>> > > >>> > > >>> >Below the code i wrote: > >>> > > >>> >HtmlPage > >signalPPage = >>> >"http://www.cbs.dtu.dk/services/SignalP [8] [15]"; > >>>> > > >>> > >>String buttonPath = > >>> > >>"html/body/table/tbody/tr/td[@valign='top']/table/tbody/tr/td/form/p/input[@type='submit']"; > >>> > >> > >>> >>>> logger.info [9] [16] [1]("BUTTON PATH " + > >> buttonPath.toString()); > >>> > List > >>>> buttonPathSubmit = > >signalPPage.getByXPath(buttonPath); > >>> > HtmlElement > >>> >button = > >(HtmlElement) buttonPathSubmit.get(0); > >>> >>>> logger.info [10] [17] > >> [2]("BUTTON > >>>> " + button.asXml()); > >>> > HtmlPage result = (HtmlPage) > >button.click(); > >>> > > >>> >>>> logger.info [11] [18] [3]("RESULT " + > >> result.asXml()); > >>>> > >>> >Could someone help me ? > >>> > > >>> > > >>> >Tiscali > >Incontri by Meetic > >>> > Offerta esclusiva pensata per te: 7 giorni > >>> > >>gratis per fare nuovi incontri! > >>> > >>>> >http://k.ilius.net/?mtcmk=739565&fsid=080 [12] [19] [4] > >>> > > >>> > > >>> > > >>> > >>Links: > >>> >------ > >>> >[1] > >>> >http://logger.info [13] [20] > >>> >[2] > >http://logger.info [14] [21] > >>> >[3] http://logger.info [15] [22] > >>> >[4] > >>> > >>http://k.ilius.net/?mtcmk=739565&fsid=080 [16] [23] > >>>>> > >>> > > >>> >Tiscali > >Incontri by Meetic > >>> >Offerta esclusiva pensata per te: 7 giorni gratis > >per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 [17] >[24] > >>>> > > >>> > > >>> > >>> ------------------------------ > >>> > >>>> > >------------------------------------------------ > >>>> October Webinars: > >Code for Performance > >>>> Free Intel webinars can help you accelerate > >application performance. > >>>> Explore tips for MPI, OpenMP, advanced > >profiling, and more. Get the most from > >>>> the latest Intel processors > >and coprocessors. See abstracts and register > > >>>> > >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [18] >[1] > >>>>> _______________________________________________ > >>>> > >Htmlunit-user mailing list > >>>> Htm...@li... [19] >[2] > >>>> https://lists.sourceforge.net/lists/listinfo/htmlunit-user [20] > >[3] > >>>> > >>> Tiscali Incontri by Meetic > >>> Offerta esclusiva pensata per > >te: 7 giorni gratis per fare nuovi incontri! >http://k.ilius.net/?mtcmk=739565&fsid=080 [21] [25] > >>>> > >>> > >------------------------------ > >>> > >>>> > >------------------------------------------------ > >>>> October Webinars: > >Code for Performance > >>>> Free Intel webinars can help you accelerate > >application performance. > >>>> Explore tips for MPI, OpenMP, advanced > >profiling, and more. Get the most from > >>>> the latest Intel processors > >and coprocessors. See abstracts and register > > >>>> > >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [22] >[4] > >>>>> _______________________________________________ > >>>> > >Htmlunit-user mailing list > >>>> Htm...@li... [23] >[5] > >>>> https://lists.sourceforge.net/lists/listinfo/htmlunit-user [24] > >[6] > >>>> > >>> Tiscali Incontri by Meetic > >>> Offerta esclusiva pensata per > >te: 7 giorni gratis per fare nuovi incontri! >http://k.ilius.net/?mtcmk=739565&fsid=080 [25] [26] > >>> > >>> > >------------------------------------------------------------------------------ > > > >>> > >>> October Webinars: Code for Performance > >>> Free Intel webinars > >can help you accelerate application performance. > >>> Explore tips for > >MPI, OpenMP, advanced profiling, and more. Get the most from > >>> the > >latest Intel processors and coprocessors. See abstracts and register > >> > >>> > >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [26] >[27] > >> > >> _______________________________________________ > >> > >Htmlunit-user mailing list > >> Htm...@li... [27] [29] > >> > >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [28] [30] > >>> > >------------------------------------------------------------------------------ > >> > >October Webinars: Code for Performance > >> Free Intel webinars can help > >you accelerate application performance. > >> Explore tips for MPI, OpenMP, > >advanced profiling, and more. Get the most from > >> the latest Intel > >processors and coprocessors. See abstracts and register > > >> > >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [29] >[31] > >> _______________________________________________ > >> Htmlunit-user > >mailing list > >> Htm...@li... [30] [32] > >> > >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [31] [33] > >>> > >>> > > > > > >Tiscali Incontri by Meetic > > Offerta esclusiva pensata per te: 7 giorni > >gratis per fare nuovi incontri! >http://k.ilius.net/?mtcmk=739565&fsid=080 [32] [35] > > > > > > > >Links: > >------ > >[1] > >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [33] > >[2] > >mailto:Htm...@li... [34] > >[3] > >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [35] > >[4] > >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [36] > >[5] > >mailto:Htm...@li... [37] > >[6] > >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [38] > >[7] > >mailto:luc...@ti... [39] > >[8] http://htmlunit.sourceforge.net [40] > >[9] > >mailto:rb...@rb... [41] > >[10] > >http://mail.tiscali.it/?_task=mail&_id=2747168595256d7a90d0bd&_action=compose# [42] > >[11] > >http://build.canoo.com/htmlunit/ [43] > >[12] mailto:luc...@ti... [44] > >[13] > >http://code.jquery.com/jquery-1.10.1.min.js [45] > >[14] > >http://www.cbs.dtu.dk/services/SignalP [46] > >[15] > >http://www.cbs.dtu.dk/services/SignalP [47] > >[16] http://logger.info [48] > >[17] > >http://logger.info [49] > >[18] http://logger.info [50] > >[19] > >http://k.ilius.net/?mtcmk=739565&fsid=080 [51] > >[20] > >http://logger.info [52] > >[21] http://logger.info [53] > >[22] http://logger.info [54] > >[23] > >http://k.ilius.net/?mtcmk=739565&fsid=080 [55] > >[24] > >http://k.ilius.net/?mtcmk=739565&fsid=080 [56] > >[25] > >http://k.ilius.net/?mtcmk=739565&fsid=080 [57] > >[26] > >http://k.ilius.net/?mtcmk=739565&fsid=080 [58] > >[27] > >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [59] > >[28] > >mailto:luc...@ti... [60] > >[29] > >mailto:Htm...@li... [61] > >[30] > >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [62] > >[31] > >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [63] > >[32] > >mailto:Htm...@li... [64] > >[33] > >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [65] > >[34] > >mailto:asa...@ya... [66] > >[35] > >> http://k.ilius.net/?mtcmk=739565&fsid=080 [67] > > > > > >Tiscali Incontri by Meetic > >Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 [68] > > > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk [69] > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... [70] > https://lists.sourceforge.net/lists/listinfo/htmlunit-user [71] Tiscali Incontri by Meetic Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 [73] Links: ------ [1] mailto:luc...@ti... [2] mailto:luc...@ti... [3] http://htmlunit.sourceforge.net [4] http://build.canoo.com/htmlunit/ [5] mailto:luc...@ti... [6] http://code.jquery.com/jquery-1.10.1.min.js [7] http://www.cbs.dtu.dk/services/SignalP [8] http://www.cbs.dtu.dk/services/SignalP [9] http://logger.info [10] http://logger.info [11] http://logger.info [12] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [13] http://logger.info [14] http://logger.info [15] http://logger.info [16] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [17] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [18] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [19] mailto:Htm...@li... [20] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [21] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [22] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [23] mailto:Htm...@li... [24] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [25] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [26] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [27] mailto:Htm...@li... [28] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [29] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [30] mailto:Htm...@li... [31] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [32] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [33] http://pubads.g.doubleclick.net/gampad/clk?id=60134071%7C+%7Camp%7C+%7Ciu=/4140/ostg.clktrk [34] mailto:Htm...@li... [35] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [36] http://pubads.g.doubleclick.net/gampad/clk?id=60134071%7C+%7Camp%7C+%7Ciu=/4140/ostg.clktrk [37] mailto:Htm...@li... [38] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [39] mailto:luc...@ti... [40] http://htmlunit.sourceforge.net [41] mailto:rb...@rb... [42] http://mail.tiscali.it/?_task=mail%7C+%7Camp%7C+%7C_id=2747168595256d7a90d0bd%7C+%7Camp%7C+%7C_action=compose# [43] http://build.canoo.com/htmlunit/ [44] mailto:luc...@ti... [45] http://code.jquery.com/jquery-1.10.1.min.js [46] http://www.cbs.dtu.dk/services/SignalP [47] http://www.cbs.dtu.dk/services/SignalP [48] http://logger.info [49] http://logger.info [50] http://logger.info [51] http://k.ilius.net/?mtcmk=739565%7C+%7Camp%7C+%7Cfsid=080 [52] http://logger.info [53] http://logger.info [54] http://logger.info [55] http://k.ilius.net/?mtcmk=739565%7C+%7Camp%7C+%7Cfsid=080 [56] http://k.ilius.net/?mtcmk=739565%7C+%7Camp%7C+%7Cfsid=080 [57] http://k.ilius.net/?mtcmk=739565%7C+%7Camp%7C+%7Cfsid=080 [58] http://k.ilius.net/?mtcmk=739565%7C+%7Camp%7C+%7Cfsid=080 [59] http://pubads.g.doubleclick.net/gampad/clk?id=60134071%7C+%7Camp%7C+%7Ciu=/4140/ostg.clktrk [60] mailto:luc...@ti... [61] mailto:Htm...@li... [62] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [63] http://pubads.g.doubleclick.net/gampad/clk?id=60134071%7C+%7Camp%7C+%7Ciu=/4140/ostg.clktrk [64] mailto:Htm...@li... [65] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [66] mailto:asa...@ya... [67] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [68] http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 [69] http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk [70] mailto:Htm...@li... [71] https://lists.sourceforge.net/lists/listinfo/htmlunit-user [72] mailto:rb...@rb... [73] http://k.ilius.net/?mtcmk=739565&fsid=080 Tiscali Incontri by Meetic Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 |
From: Ronald B. <rb...@rb...> - 2013-10-10 18:50:05
|
Works fine here with FF17. Are you sure, you have used all the libs form the latest build (CSSParser, Core-JS, Neko, Httpclient) RBRi On Thu, 10 Oct 2013 20:32:08 +0200 luc...@ti... wrote: > > > >Hi, I use Firefox 17. > >I do: WebClient webClient = new >WebClient(BrowserVersion.FIREFOX_17); > >What is the default browser ? > > >2013/10/10 Ahmed Ashour > >> Hi, >> Which browser you use? Default one >doesn't give an error. >> >> Ahmed >> >> On Oct 10, 2013, at 8:02 PM, >luc...@ti... [28] wrote: >> >>> Tried but the error doesn't >change. >>> >>> Any suggestion ? >>> >>> 2013/10/10 >>> >>> No I >downloaded version 2.12 from http://htmlunit.sourceforge.net [8] >>> >>> >Now I will try with "htmlunit-2.13-SNAPSHOT-with-dependencies.zip" >version >>> >>> 2013/10/10 Ronald Brill Invia [10] >>> Did you use the >latest build from http://build.canoo.com/htmlunit/ [11]? >>> >>> RBRi >>> > >>> On Thu, 10 Oct 2013 18:03:53 +0200 luc...@ti... [12] >wrote: >>> > >>> > >>> > >>> >Hi all, >>> > >>> >when i submit a form with >button.click() I get following >>> >error: >>> > >>> >SEVERE: runtimeError: >message=[An invalid or illegal selector >>> >was specified (selector: >'*,:x' error: Invalid selector: *:x).] >>> >>sourceName=[http://code.jquery.com/jquery-1.10.1.min.js [13]] >line=[4] >>> >lineSource=[null] lineOffset=[0] >>> > >>> >The site is >>> >>http://www.cbs.dtu.dk/services/SignalP [14] and the button is >"Submit". >>> > >>> > >>> >Below the code i wrote: >>> > >>> >HtmlPage >signalPPage = >>> >"http://www.cbs.dtu.dk/services/SignalP [15]"; >>> > >>> >>String buttonPath = >>> >>"html/body/table/tbody/tr/td[@valign='top']/table/tbody/tr/td/form/p/input[@type='submit']"; >>> >> >>> >>>> logger.info [16] [1]("BUTTON PATH " + >buttonPath.toString()); >>> > List >>>> buttonPathSubmit = >signalPPage.getByXPath(buttonPath); >>> > HtmlElement >>> >button = >(HtmlElement) buttonPathSubmit.get(0); >>> >>>> logger.info [17] >[2]("BUTTON >>>> " + button.asXml()); >>> > HtmlPage result = (HtmlPage) >button.click(); >>> > >>> >>>> logger.info [18] [3]("RESULT " + >result.asXml()); >>>> >>> >Could someone help me ? >>> > >>> > >>> >Tiscali >Incontri by Meetic >>> > Offerta esclusiva pensata per te: 7 giorni >>> >>gratis per fare nuovi incontri! >>> >>>> >http://k.ilius.net/?mtcmk=739565&fsid=080 [19] [4] >>> > >>> > >>> > >>> >>Links: >>> >------ >>> >[1] >>> >http://logger.info [20] >>> >[2] >http://logger.info [21] >>> >[3] http://logger.info [22] >>> >[4] >>> >>http://k.ilius.net/?mtcmk=739565&fsid=080 [23] >>>> >>> > >>> >Tiscali >Incontri by Meetic >>> >Offerta esclusiva pensata per te: 7 giorni gratis >per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 >[24] >>> > >>> > >>> >>> ------------------------------ >>> >>>> >------------------------------------------------ >>>> October Webinars: >Code for Performance >>>> Free Intel webinars can help you accelerate >application performance. >>>> Explore tips for MPI, OpenMP, advanced >profiling, and more. Get the most from >>>> the latest Intel processors >and coprocessors. See abstracts and register > >>>> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >[1] >>>> _______________________________________________ >>>> >Htmlunit-user mailing list >>>> Htm...@li... >[2] >>>> https://lists.sourceforge.net/lists/listinfo/htmlunit-user >[3] >>> >>> Tiscali Incontri by Meetic >>> Offerta esclusiva pensata per >te: 7 giorni gratis per fare nuovi incontri! >http://k.ilius.net/?mtcmk=739565&fsid=080 [25] >>> >>> >------------------------------ >>> >>>> >------------------------------------------------ >>>> October Webinars: >Code for Performance >>>> Free Intel webinars can help you accelerate >application performance. >>>> Explore tips for MPI, OpenMP, advanced >profiling, and more. Get the most from >>>> the latest Intel processors >and coprocessors. See abstracts and register > >>>> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >[4] >>>> _______________________________________________ >>>> >Htmlunit-user mailing list >>>> Htm...@li... >[5] >>>> https://lists.sourceforge.net/lists/listinfo/htmlunit-user >[6] >>> >>> Tiscali Incontri by Meetic >>> Offerta esclusiva pensata per >te: 7 giorni gratis per fare nuovi incontri! >http://k.ilius.net/?mtcmk=739565&fsid=080 [26] >> >>> >------------------------------------------------------------------------------ > >>> >>> October Webinars: Code for Performance >>> Free Intel webinars >can help you accelerate application performance. >>> Explore tips for >MPI, OpenMP, advanced profiling, and more. Get the most from >>> the >latest Intel processors and coprocessors. See abstracts and register >> >>> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >[27] >> >> _______________________________________________ >> >Htmlunit-user mailing list >> Htm...@li... [29] >> >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [30] >> >------------------------------------------------------------------------------ >> >October Webinars: Code for Performance >> Free Intel webinars can help >you accelerate application performance. >> Explore tips for MPI, OpenMP, >advanced profiling, and more. Get the most from >> the latest Intel >processors and coprocessors. See abstracts and register > >> >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >[31] >> _______________________________________________ >> Htmlunit-user >mailing list >> Htm...@li... [32] >> >https://lists.sourceforge.net/lists/listinfo/htmlunit-user [33] >> >>> > > >Tiscali Incontri by Meetic > Offerta esclusiva pensata per te: 7 giorni >gratis per fare nuovi incontri! >http://k.ilius.net/?mtcmk=739565&fsid=080 [35] > > > >Links: >------ >[1] >http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk >[2] >mailto:Htm...@li... >[3] >https://lists.sourceforge.net/lists/listinfo/htmlunit-user >[4] >http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk >[5] >mailto:Htm...@li... >[6] >https://lists.sourceforge.net/lists/listinfo/htmlunit-user >[7] >mailto:luc...@ti... >[8] http://htmlunit.sourceforge.net >[9] >mailto:rb...@rb... >[10] >http://mail.tiscali.it/?_task=mail|+|amp|+|_id=2747168595256d7a90d0bd|+|amp|+|_action=compose# >[11] >http://build.canoo.com/htmlunit/ >[12] mailto:luc...@ti... >[13] >http://code.jquery.com/jquery-1.10.1.min.js >[14] >http://www.cbs.dtu.dk/services/SignalP >[15] >http://www.cbs.dtu.dk/services/SignalP >[16] http://logger.info >[17] >http://logger.info >[18] http://logger.info >[19] >http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 >[20] >http://logger.info >[21] http://logger.info >[22] http://logger.info >[23] >http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 >[24] >http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 >[25] >http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 >[26] >http://k.ilius.net/?mtcmk=739565|+|amp|+|fsid=080 >[27] >http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk >[28] >mailto:luc...@ti... >[29] >mailto:Htm...@li... >[30] >https://lists.sourceforge.net/lists/listinfo/htmlunit-user >[31] >http://pubads.g.doubleclick.net/gampad/clk?id=60134071|+|amp|+|iu=/4140/ostg.clktrk >[32] >mailto:Htm...@li... >[33] >https://lists.sourceforge.net/lists/listinfo/htmlunit-user >[34] >mailto:asa...@ya... >[35] >http://k.ilius.net/?mtcmk=739565&fsid=080 > > >Tiscali Incontri by Meetic >Offerta esclusiva pensata per te: 7 giorni gratis per fare nuovi incontri! http://k.ilius.net/?mtcmk=739565&fsid=080 > > |