I tried with typekit with no success: http://phantomjs-pad.ozaur.com/DrDvxMADoP2TdF652 I was curious with this example, as I have had zero luck getting webfonts to render using PhantomJS so far. Have you had any success rendering webfonts?
Show HN: Phantom JS interactive editor
11–20 of 42 posts
Re: Show HN: Phantom JS interactive editor
#12Neat. Did you have a real use-case for this, or just fun? I'm curious, what dependencies does it have that would make setup difficult? In the Yelp example, I was confused for a second by the variable name of 'pizza' when doing a Yelp search on seafood. Renaming that would make the example more clear. :) What does the browser-view show? I didn't try, but if the code traverses multiple locations, is it a screenshot of…
Browser-view shows at the end and whenever you write page.render().
Making setup smooth is solve able problem, I just haven't spent time on that. It uses Meteor and PhantomJS.
Re: Show HN: Phantom JS interactive editor
#13A shameless plug: https://github.com/scrapinghub/splash is an open source tool similar to Phantom JS, and it has an interactive web editor built-in. The concurrency model in Splash scripts is not the same as in Phantom JS scripts: Splash allows to use loops/ifs/functions in async code without recursion tricks or things like "casper.thenOpen". See http://splash.readthedocs.org/en/latest/scripting-tutorial.h... for mor…
Will have a look. PhantomJS development seems stagnate a bit. Try to contribute to it myself.
Re: Show HN: Phantom JS interactive editor
#14A shameless plug: https://github.com/scrapinghub/splash is an open source tool similar to Phantom JS, and it has an interactive web editor built-in. The concurrency model in Splash scripts is not the same as in Phantom JS scripts: Splash allows to use loops/ifs/functions in async code without recursion tricks or things like "casper.thenOpen". See http://splash.readthedocs.org/en/latest/scripting-tutorial.h... for mor…
Cool. Haven't heard about it. Will have a look. PhantomJS development seems stagnate a bit. Try to contribute to it myself.
Splash Web UI is quite similar to PhantomJS Pad UI - by default it shows a CodeMirror text editor (with a simple autocompletion) and a screenshot of the webpage. Also, by default it shows information about requests/responses (like a "Network" tab in Firefox/Chrome development console) and a textarea with rendered html.
PhantomJS Pad UI ideas are good; tabs for images, an editor window which is open by default and a field with console logs make a lot of sense.
Re: Show HN: Phantom JS interactive editor
#15A shameless plug: https://github.com/scrapinghub/splash is an open source tool similar to Phantom JS, and it has an interactive web editor built-in. The concurrency model in Splash scripts is not the same as in Phantom JS scripts: Splash allows to use loops/ifs/functions in async code without recursion tricks or things like "casper.thenOpen". See http://splash.readthedocs.org/en/latest/scripting-tutorial.h... for mor…
Re: Show HN: Phantom JS interactive editor
#16A shameless plug: https://github.com/scrapinghub/splash is an open source tool similar to Phantom JS, and it has an interactive web editor built-in. The concurrency model in Splash scripts is not the same as in Phantom JS scripts: Splash allows to use loops/ifs/functions in async code without recursion tricks or things like "casper.thenOpen". See http://splash.readthedocs.org/en/latest/scripting-tutorial.h... for mor…
There's also Automately ( http://automate.ly/ ) it's a pretty interesting platform and it also allows for use of browser automation but differently than PhantomJS it's a little confusing to get setup at first but once you're there it's easy from there on.
Re: Show HN: Phantom JS interactive editor
#17A shameless plug: https://github.com/scrapinghub/splash is an open source tool similar to Phantom JS, and it has an interactive web editor built-in. The concurrency model in Splash scripts is not the same as in Phantom JS scripts: Splash allows to use loops/ifs/functions in async code without recursion tricks or things like "casper.thenOpen". See http://splash.readthedocs.org/en/latest/scripting-tutorial.h... for mor…
There's also Automately ( http://automate.ly/ ) it's a pretty interesting platform and it also allows for use of browser automation but differently than PhantomJS it's a little confusing to get setup at first but once you're there it's easy from there on.
Re: Show HN: Phantom JS interactive editor
#18A shameless plug: https://github.com/scrapinghub/splash is an open source tool similar to Phantom JS, and it has an interactive web editor built-in. The concurrency model in Splash scripts is not the same as in Phantom JS scripts: Splash allows to use loops/ifs/functions in async code without recursion tricks or things like "casper.thenOpen". See http://splash.readthedocs.org/en/latest/scripting-tutorial.h... for mor…
Re: Show HN: Phantom JS interactive editor
#19Earlier quoted context omitted.
There's also Automately ( http://automate.ly/ ) it's a pretty interesting platform and it also allows for use of browser automation but differently than PhantomJS it's a little confusing to get setup at first but once you're there it's easy from there on.
It doesn't look like Automately is open source, but their API looks nice (based on examples from http://blog.automate.ly/ ).
Re: Show HN: Phantom JS interactive editor
#20Earlier quoted context omitted.
There's also Automately ( http://automate.ly/ ) it's a pretty interesting platform and it also allows for use of browser automation but differently than PhantomJS it's a little confusing to get setup at first but once you're there it's easy from there on.
interesting but seems like just a selenium in the cloud. wouldn't it make more sense for someone to host automation scripts on their own servers?