Skip to main content
Commonmark migration
Source Link

Why an error occurs when using phantomjs?

It is because PhantomJS is not support ES6 Promise See the issue in Github here. if you do debugging you will see this error for that page

ReferenceError: Can't find variable: Promise

 

phantomjs://platform/bootstrap.js:87 2

 

ReferenceError: Can't find variable: $

Because PhantomJS abandoned there are no easy fix.

Why an error occurs when using phantomjs?

It is because PhantomJS is not support ES6 Promise See the issue in Github here. if you do debugging you will see this error for that page

ReferenceError: Can't find variable: Promise

 

phantomjs://platform/bootstrap.js:87 2

 

ReferenceError: Can't find variable: $

Because PhantomJS abandoned there are no easy fix.

Why an error occurs when using phantomjs?

It is because PhantomJS is not support ES6 Promise See the issue in Github here. if you do debugging you will see this error for that page

ReferenceError: Can't find variable: Promise

phantomjs://platform/bootstrap.js:87 2

ReferenceError: Can't find variable: $

Because PhantomJS abandoned there are no easy fix.

Source Link
ewwink
  • 19.3k
  • 2
  • 49
  • 56

Why an error occurs when using phantomjs?

It is because PhantomJS is not support ES6 Promise See the issue in Github here. if you do debugging you will see this error for that page

ReferenceError: Can't find variable: Promise

phantomjs://platform/bootstrap.js:87 2

ReferenceError: Can't find variable: $

Because PhantomJS abandoned there are no easy fix.