8

Can anyone give me the differences between those versions?

What can I do in version 2 that I could not do in earlier versions?

I use PhantomJS to execute code generated by Selenium. Will be there performance improvements?

cassiomolin
  • 124,154
  • 35
  • 280
  • 359
DevOps85
  • 6,473
  • 6
  • 23
  • 42
  • The difference ? Something like 0.1 Phantom JS... That said, what you're asking is called [Release notes](http://phantomjs.org/release-2.0.html) – Laurent S. Feb 17 '15 at 08:28
  • 1
    @Bartdude Sadly, that page doesn't contain the useful stuff. – Artjom B. Feb 17 '15 at 08:37
  • My Bad then... not using it I was supposing release notes were complete as the ones from jQuery can be for example. apparently not :-) – Laurent S. Feb 17 '15 at 13:12

1 Answers1

13

PhantomJS 2 has a "new" WebKit version underneath. So it changed from 534.34 in PhantomJS 1 to 538.1 in PhantomJS 2. The difference in numbers in this dimension is not big, but there is a more than two year difference between the release of the two WebKit versions. See also: Does PhantomJS use QtWebKit or Blink?

It's not that its performance is better, but rather that it supports more up-to-date web standards and APIs, and has less bugs.

Problems in the past:

Community
  • 1
  • 1
Artjom B.
  • 61,146
  • 24
  • 125
  • 222