Reporting an Issue

PhantomJS does not behave as expected? This is a chance to report it!

Because the team behind PhantomJS is a group of volunteers with very limited maintenance capacity (more details), we have to make a certain trade-off when treating a report of an issue.

There is no guarantee that we can fix every issue (some are impossible or impractical to solve). Following the guide here will maximize the chance that the issue gets addressed, triaged, and looked at.

Some important points to consider:

Be as specific as possible
It is impossible to solve the problem without a very good understanding of it.
Be civil and reasonable
Discuss only facts and refrain from making a certain deduction, opinion, or judgement.
Be patient
This is a volunteering project, giving the sense of urgency does not magically make the solution appear faster.

Provide detailed information on the system

To get the version of PhantomJS:

phantomjs --version

To get the operating system version:

Describe the steps to reproduce the issue

Make sure your report has the following:

An example of an incomplete report:

I ran PhantomJS and it crashed.

An example of a good report:

Steps to reproduce:
  1. Download and install PhantomJS version 2.1 for Windows
  2. Open command prompt
  3. Run phantomjs --version
Actual behavior

PhantomJS crashed.

Expected behavior

PhantomJS shows its version number.

Attempt to perform test case reduction

The instruction on the WebKit web site explains this as:

...to take a page that demonstrates a problem and remove as much content as possible while still reproducing the original problem.

Due to very limited maintenance capacity of the team behind PhantomJS (more details), it is simply not feasible to leave it to the PhantomJS team to perform the test case reduction.

When you report that e.g. PhantomJS does not work with web site X, it is also unexpected that you would perform a basic troubleshooting (see some tips given at the above WebKit instructions) to help narrowing down the issue and hopefully to lead it to a possible root cause.