Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2015 09:48:21 +0200
From:      "Ronald Klop" <ronald-lists@klop.ws>
To:        freebsd-java@freebsd.org, "Matthias Apitz" <guru@unixarea.de>
Subject:   Re: headless browser
Message-ID:  <op.xy01avenkndu52@ronaldradial.radialsg.local>
In-Reply-To: <20150522054546.GA2211@c720-r276659>
References:  <20150522054546.GA2211@c720-r276659>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 May 2015 07:45:46 +0200, Matthias Apitz <guru@unixarea.de>  
wrote:

>
> Hello,
>
> Do we have some headless browser in our ports which does also supports
> JavaScript? What I would like todo, scripbased, is
>
> - HTTP some URL and fetch the page which contains also JS
> - interpret the JS and issue the POST request in the form of the page
> - render the resulting HTML
> - store the page as UTF-8 text;
>
> Thanks
>
> 	matthias
>

You can try phantomjs.

http://www.freshports.org/lang/phantomjs/

Ronald.

PS: What does this have to do with Java?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.xy01avenkndu52>