Using phantomjs on raspbian via ssh

40 views
Skip to first unread message

dan...@daniel-schmitz.info

unread,
Jan 2, 2016, 6:53:40 AM1/2/16
to phantomjs
Hi,

i tried to use phantomjs on my raspberry pi with installed raspbian. After a simple install with the packet manager i tried the hello world example, but don't get a console output.

Not even phantomjs --version does work:

pi@raspberrypi:~ $ phantomjs

Usage: phantomjs [options] script.[js|coffee] [script argument [script argument ...]]

Options:

--cookies-file=/path/to/cookies.txt    Sets the file name to store the persistent cookies
--config=/path/to/config               Specifies path to a JSON-formatted config file
--disk-cache=[yes|no]                  Enables disk cache (at desktop services cache storage location, default is 'no')
--ignore-ssl-errors=[yes|no]           Ignores SSL errors (i.e. expired or self-signed certificate errors)
--load-images=[yes|no]                 Loads all inlined images (default is 'yes')
--load-plugins=[yes|no]                Loads all plugins (i.e. 'Flash', 'Silverlight', ...) (default is 'no')
--local-to-remote-url-access=[yes|no]  Local content can access remote URL (default is 'no')
--max-disk-cache-size=size             Limits the size of disk cache (in KB)
--output-encoding                      Sets the encoding used for terminal output (default is 'utf8')
--proxy=address:port                   Sets the network proxy (e.g. "--proxy=192.168.1.42:8080")
--proxy-type=[http|socks5]             Sets the proxy type, either "http" (default) or "socks5"
--script-encoding                      Sets the encoding used for the starting script (default is 'utf8')
--version                              Prints out PhantomJS version

pi@raspberrypi:~ $ phantomjs --version
pi@raspberrypi:~ $

Do you have any recommendations? Have I missed something?

Many thanks,
daniel
Reply all
Reply to author
Forward
0 new messages