Questions tagged [phantomcss]

23 questions
0
votes
1 answer

PhantomCSS - Unable to invoke function from DOM

I'm trying to invoke moveNext function which is already present on the page. This function helps to navigate to a particular page by passing value as an argument eg: moveNext(2). I want to capture screenshot starting from first page until the last…
Rahul Dagli
  • 4,301
  • 15
  • 47
  • 85
0
votes
1 answer

How to hide multiple elements with the hideElements argument in screenshot function of PhantomCSS

How to include more than one element in hideElements argument in screenshot function? For one element: phantomcss.screenshot(target, timeOut, "div.page", fileName);
0
votes
0 answers

Add arguments in PhantomJs Config : SSL-Protocol

I add PhantomJs to my project as a maven module to test the Projet Status even after modifications to be sure that i didn't domage anything. When i compile the maven module, i have a problem with with https link in my Project: ---…
Ayoub Abid
  • 432
  • 5
  • 15
0
votes
0 answers

Testing images directly rather than web pages in PhantomCSS

The demonstrations of PhantomCSS commonly use web pages in test. Is there a way to test images instead?
Phil
  • 2,143
  • 19
  • 44
0
votes
1 answer

PhantomCSS - Javascript not getting executed

I am trying to unit test different components in a HTML page using phantomCSS. My test HTML page contains dropdown elements. On this HTML, I load a javascript file that would convert these elements into (by using jquery). So, in my testSuite, I…
balachander j
  • 53
  • 1
  • 1
  • 6
0
votes
1 answer

PhantomCSS not working with this website

I'm trying to make this test work but it seems PhantomCSS can't take a screenshot of this particular website. /* Require and initialise PhantomCSS module Paths are relative to CasperJs directory */; var phantomcss =…
MissJane
  • 1
  • 2
0
votes
1 answer

Offline Node.JS Packages

How do I install node packages on an offline machine? For instance, I am trying to install PhantomCSS onto a machine with no internet connectivity.
Anthony Ryan
  • 365
  • 2
  • 6
  • 19
0
votes
1 answer

grunt-phantomcss installation on Windows

I am trying to install grunt-phantomcss to my application but I get the following error: C:\test>npm install grunt-phantomcss --save-dev npm WARN package.json cgmbase@0.0.0 No repository field. | > grunt-phantomcss@0.2.3 postinstall…
P3anuts
  • 461
  • 1
  • 9
  • 24
1
2