tag:blogger.com,1999:blog-17722541.post4256956271098944361..comments2023-10-30T12:41:52.941+01:00Comments on don't code today what you can't debug tomorrow: PhantomJS: minimalistic headless WebKit-based JavaScript-driven toolAriya Hidayathttp://www.blogger.com/profile/03121582140059106015noreply@blogger.comBlogger16125tag:blogger.com,1999:blog-17722541.post-26737453042988452812011-03-27T17:20:24.550+02:002011-03-27T17:20:24.550+02:00@Husky: Check the roadmap wiki page.@Husky: Check the roadmap wiki page.Ariya Hidayathttps://www.blogger.com/profile/03121582140059106015noreply@blogger.comtag:blogger.com,1999:blog-17722541.post-68671543141645446042011-03-23T10:13:42.684+01:002011-03-23T10:13:42.684+01:00Great work, i can imagine this becoming a part of ...Great work, i can imagine this becoming a part of my testing setup.<br /><br />Wondering: are there any plans to add read/write to the filesystem support from the Javascript API? Would be especially interesting for screenscraping purposes, and writing test results.Hayhttps://www.blogger.com/profile/17546008147080325131noreply@blogger.comtag:blogger.com,1999:blog-17722541.post-85371391194235142422011-02-05T07:28:28.804+01:002011-02-05T07:28:28.804+01:00@MarkJ: I'm fairly sure that cookies support i...@MarkJ: I'm fairly sure that cookies support is missing.Ariya Hidayathttps://www.blogger.com/profile/03121582140059106015noreply@blogger.comtag:blogger.com,1999:blog-17722541.post-84426442686912688362011-02-04T06:51:43.707+01:002011-02-04T06:51:43.707+01:00@David Connors: Flash is tricky because most of th...@David Connors: Flash is tricky because most of the time it is a windowed plugin and thus it requires some view (can't be headless).Ariya Hidayathttps://www.blogger.com/profile/03121582140059106015noreply@blogger.comtag:blogger.com,1999:blog-17722541.post-67270056823672964052011-02-03T18:44:10.059+01:002011-02-03T18:44:10.059+01:00Hi,
Firstly this looks amazing. Have had a quick p...Hi,<br />Firstly this looks amazing. Have had a quick play (with render() in particular) and it's great.<br /><br />One question: does the implementation work with cookies? i.e. I've got a script which loads a login page, fills in the form and then clicks the button (all good.) This then returns a new page (it is logged in) but then once I attempt to go to another page it redirects back to the login page. I'm using asp.net but I doubt that matters.<br /><br />Thanks.Mark Jnoreply@blogger.comtag:blogger.com,1999:blog-17722541.post-25421175325261928962011-02-01T05:20:49.990+01:002011-02-01T05:20:49.990+01:00This is a great project. Do you have any intention...This is a great project. Do you have any intention of supporting plug-ins ... specifically Flash?David Connorshttp://www.codify.com/noreply@blogger.comtag:blogger.com,1999:blog-17722541.post-250502600927447622011-01-28T09:54:07.584+01:002011-01-28T09:54:07.584+01:00@Danii @Matt: it seems that phantomjs can't (y...@Danii @Matt: it seems that phantomjs can't (yet) detect a configured http proxy. Unfortunately, there is no command line argument to specify one either. Ariya, could you update the Wiki FAQ with this information?Unknownhttps://www.blogger.com/profile/09773186068042214984noreply@blogger.comtag:blogger.com,1999:blog-17722541.post-89767476019682377982011-01-27T01:40:49.820+01:002011-01-27T01:40:49.820+01:00Do I use this with proxy server?Do I use this with proxy server?mattnhttps://www.blogger.com/profile/00918739582532665962noreply@blogger.comtag:blogger.com,1999:blog-17722541.post-44504490279260343562011-01-26T17:30:26.506+01:002011-01-26T17:30:26.506+01:00@GVN: The re-execution is not a design choice, it&...@GVN: The re-execution is not a design choice, it's a workaround to the technical limitation. Essentially the script runs in a context of a web page, so it's thrown away after another page is loaded.Ariya Hidayathttps://www.blogger.com/profile/03121582140059106015noreply@blogger.comtag:blogger.com,1999:blog-17722541.post-72890691360543161262011-01-26T09:16:14.687+01:002011-01-26T09:16:14.687+01:00Addendum to my last comment: I forgot that I have ...Addendum to my last comment: I forgot that I have to use a proxy here. If it doesn't automatically detect and use the default system proxy settings is there a way to set the settings manually?Danniihttps://www.blogger.com/profile/13934835328750335927noreply@blogger.comtag:blogger.com,1999:blog-17722541.post-53791592908462331422011-01-26T09:05:37.470+01:002011-01-26T09:05:37.470+01:00These things are always more complicated than they...These things are always more complicated than they seem. I grabbed the windows binary but can't get examples which use phantom.open() to run. Other examples do work, so webkit is clearly working, but do I need to get the rest of Qt as well?Danniihttps://www.blogger.com/profile/13934835328750335927noreply@blogger.comtag:blogger.com,1999:blog-17722541.post-33900318632770363572011-01-26T08:42:56.549+01:002011-01-26T08:42:56.549+01:00I put up an OSX binary for people to play with. I ...I put up an OSX binary for people to play with. I hope that's ok:<br />http://blog.marc-seeger.de/2011/01/26/phantomjs_osx_binaryAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-17722541.post-64548295383154477922011-01-26T00:58:43.618+01:002011-01-26T00:58:43.618+01:00This is cool! However, the fact that the entire sc...This is cool! However, the fact that the entire script gets cleared and re-executed after a call to "open" seems kind of funky.<br /><br />Wouldn't a callback be a little more straightforward? I could see this getting really convoluted for a multi-page scenario.GVNhttp://twitter.com/gvnnoreply@blogger.comtag:blogger.com,1999:blog-17722541.post-40555129720298737362011-01-25T18:12:20.759+01:002011-01-25T18:12:20.759+01:00@Tommy: I am not a lawyer so I'm not sure abou...@Tommy: I am not a lawyer so I'm not sure about that. WebKit is using GNU LGPL, PhantomJS itself is BSD licensed, and the executable is statically compiled. You may want to consult knowledgable IP attorney.Ariya Hidayathttps://www.blogger.com/profile/03121582140059106015noreply@blogger.comtag:blogger.com,1999:blog-17722541.post-6213272954575268962011-01-25T11:20:25.254+01:002011-01-25T11:20:25.254+01:00Really cool project. Can the Windows executable do...Really cool project. Can the Windows executable downloaded from the project website be redistributed with a commercial application? What are the conditions for this?Tommy Carlierhttps://www.blogger.com/profile/00487440070088105656noreply@blogger.comtag:blogger.com,1999:blog-17722541.post-3332275719056384892011-01-25T09:20:30.200+01:002011-01-25T09:20:30.200+01:00This is just great, thanks a lot for this project....This is just great, thanks a lot for this project.Samurai Jackhttps://www.blogger.com/profile/01827381942160927603noreply@blogger.com