Questions tagged [phantomjs]

PhantomJS is a headless WebKit with JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.

12 questions
9
votes
2 answers

How to run PhantomJS on CentOS with SELinux?

I'm trying to make a screenshot using PhantomJS on my CentOS 5 machine, but I can't get it to work together with SELinux. It works on an identical machine with SELinux disabled, so I really suspect that SELinux is responsible for this. Here's what…
Dennis Bunskoek
  • 256
  • 2
  • 4
2
votes
1 answer

Environment variable to change cipher for openssl

I want to use a particular cipher for a HTTPS connection. The client (phantomjs) statically links openssl. The only way to do it is using environment variables, as there are no command line arguments for doing it. Does anyone know of the environment…
feroze
  • 245
  • 2
  • 8
2
votes
0 answers

Using PhangomJS in Docker Alpine

I am trying to use Jenkins as a docker container. For this purpose, I use the official docker image. As we have some integrations tests based on Selenium (Vaadin Workbench really), I need to run phantomjs as headless. The tests are executed…
King Midas
  • 141
  • 7
2
votes
1 answer

Disable PhantomJS from generating a crash report

I have a bank of servers for generating snapshots of our Javascript heavy pages for SEO purposes. The servers use PhantomJS for rendering the pages, but occassionally the browser will crash, the server will handle the crash gracefully and try again,…
JaredMcAteer
  • 151
  • 8
2
votes
1 answer

PhantomJS on CentOS 5.5 (glibc and libstdc++ versions)

I'm trying to run PhantomJS on CentOS, but I get the following: ./phantomjs: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by ./phantomjs) ./phantomjs: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required…
vivin
  • 463
  • 1
  • 4
  • 11
2
votes
1 answer

How to apply patches to phantomjs port in FreeBSD 9?

I have installed FreeBSD 9 and I need to install phantomjs. It is available in /usr/ports/lang/phantomjs but the version is 1.0 while I need a more recent version. There is a patch to update to version 1.4.1 but I don't know how to apply this patch.…
flowfree
  • 123
  • 4
1
vote
1 answer

Can't get HTML using PhantomJS and selenium driver from a debian server

I am developping a python program that uses selenium (webdriver python bindings) and PhantomJS (headless WebKit scriptable with a JavaScript API) to load and interact with websites. When I use this program on a local ubuntu computer/network it loads…
NanoPish
  • 63
  • 6
1
vote
1 answer

Microsoft Security Essentials says phantomjs for Windows has Varpes.M!plock virus

I can scan the zip file phantomjs-2.1.1-windows.zip, and it does not remove anything. But once I unzip the exe, Security Essentials remove the phantomjs.exe. The zip has the correct MD5 checksum. Any solutions?
JohnWrensby
  • 123
  • 3
0
votes
1 answer

Trying to run PhantomJS (webdriver) as service with systemd

I want to run PhantomJS in webdriver mode as a service on a CentOS box. I created this systemd file but somehow the command-line argument is not accepted. The error message is Unit phantomjs-webdriver.service failed to load: Invalid…
Kees de Kooter
  • 187
  • 1
  • 1
  • 7
0
votes
1 answer

Nginx, angularJS, django and phantomJS configuration

I have succesfully set up Django, angularjs and phantomJS (for SEO purposes) to work together, however I am having a small problem with routes. http:// something.com/?_escaped_fragment_= gets rewritten correctly and I get a rendered snapshop of my…
xtrinch
  • 101
  • 2
0
votes
1 answer

Phantomjs fails on Amazon EC2 (Ubuntu 12.04 AMI)

I'm trying to run Phantomjs (most specifically Casperjs) on a Amazon EC2, using Ubuntu latest image (12.4). To be sure, I tried with two different builds. One compiled on my dev machine (Phantomjs 1.6.0) and another built in the EC2 itself…
alfetopito
  • 321
  • 2
  • 4
0
votes
1 answer

Xvfb - phantomjs - linux redhat enterprise 5

I am trying to get phantomjs (a headless browser) working on my server... Bottom line is i'm not having any luck. The answer in the FAQ for phantomjs is to run it with Xvfb: http://code.google.com/p/phantomjs/issues/detail?id=163 However i have NO…
joel
  • 101
  • 2