tag:blogger.com,1999:blog-6169778654676623003.post6196933331427497712..comments2023-05-02T03:15:37.709-07:00Comments on Pielmeier im Wonderland: Headless HTML page rendering with phantomjsMarkus Pielmeierhttp://www.blogger.com/profile/08272959254915942027noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-6169778654676623003.post-66532661954668493822013-11-21T03:32:46.166-08:002013-11-21T03:32:46.166-08:00hi,
I want to generate htm pages depending on page...hi,<br />I want to generate htm pages depending on page event using phantomjs .<br />Can any one help me how can i do this.<br /><br />Anonymoushttps://www.blogger.com/profile/17927910345859912572noreply@blogger.comtag:blogger.com,1999:blog-6169778654676623003.post-58388096679837214782013-10-08T07:51:53.395-07:002013-10-08T07:51:53.395-07:00Thanks, I was going really "nut" about c...Thanks, I was going really "nut" about clicking a link, <br /><br />So, phantomJS.org JS objects in the page context doesn't have any of the mouse related events, am I right?<br /><br />All of the other answers I've found around the globe are based on extenal libraries.Anonymoushttps://www.blogger.com/profile/01766790199936651325noreply@blogger.comtag:blogger.com,1999:blog-6169778654676623003.post-63589212753562510932013-01-25T22:10:35.033-08:002013-01-25T22:10:35.033-08:00I wrote a tutorial on how to take screenshot using...I wrote a tutorial on how to take screenshot using phantomjs here http://devlup.com/programming/php/capture-webpage-screenshot-using-php-and-phantomjs/4484/VaticanCameoshttps://www.blogger.com/profile/12298568949500130772noreply@blogger.comtag:blogger.com,1999:blog-6169778654676623003.post-44732926896007815992012-12-03T15:43:46.656-08:002012-12-03T15:43:46.656-08:00I have a use case for it - i made a content-editor...I have a use case for it - i made a content-editor for a kind of cms and there i want a fancy feature, where a user can see what he did as a little preview on the overview pages of his articles ;-) so, phantomjs is the perfect way to automatically/programmatically catch a screenshot of the stuff the user dit in the editor and make a nice preview-thumbnail of it in the main-websiteAnonymoushttps://www.blogger.com/profile/11987046561834290531noreply@blogger.comtag:blogger.com,1999:blog-6169778654676623003.post-80195772654158398512011-02-20T02:28:28.077-08:002011-02-20T02:28:28.077-08:00I only know selenium from the java world. In my op...I only know selenium from the java world. In my opinion selenium itself is a very mature solution. It got it's own FF IDE and hudson server continous integration support. Many "real life" problems have already been solved in selenium.<br />I think phantomjs can be the base technology for a new browser UI testing approach.<br /><br />What I like about phantomjs is that you can automagically generate "screenshots" of your page. I think this can be very handy when you have a composite page which is based on many smaller components. When I find some time I will experiment with making screenshots of these page components and comparing them with former screenshots. I hope this will allow me to refactor my CSS and see the side effects in all the affected components.<br /><br />Also phantomjs scripts are written in pure javascript. There's no java or php on the server and javascript on the client. Therefore I think phantomjs is especially in a nodejs environment appealing.<br /><br />My last pro of phantomjs is that you can run it without UI. At least almost (see http://code.google.com/p/phantomjs/wiki/QuickStart) :-)<br />This makes it perfect for server based continuous integration solutions.Markus Pielmeierhttps://www.blogger.com/profile/08272959254915942027noreply@blogger.comtag:blogger.com,1999:blog-6169778654676623003.post-14729483942085389722011-02-19T10:01:01.288-08:002011-02-19T10:01:01.288-08:00Have you a Usecase for PhantomJs? I prefer Seleniu...Have you a Usecase for PhantomJs? I prefer Selenium for similar Usecaes and Selenium can test FF and IE too.ridcullyhttps://www.blogger.com/profile/16672361079907495798noreply@blogger.com