Packages & modules

Know which modules are bundled with your scripts

Phantombuster freezes module and headless browser versions in what we call "packages". Each package is identified by its number (higher numbers represent more recent versions).

Phantombuster package directive

Each scriptscript - The source code that will be executed by NodeJS in the cloud, using Puppeteers, Buster library, and more. must have a phantombuster package directive indicating which package to use when run. That way, we can guarantee that the script will execute in the same environment every time (same available modules, same headless browser versions). We wrote a dedicated article on how to use script directives.

When new software is released (updated modules, new headless browser versions...), Phantombuster will release a new package with a higher number. Old scripts will continue running on the previous package. New scripts should start using the new one to benefit from updated software.

A typical way to start a script is as follows:

// Phantombuster configuration {
"phantombuster command: nodejs"
"phantombuster package: 6" // use the 6th package
"phantombuster flags: save-folder"
// }
const Buster = require("phantombuster")
const buster = new Buster()
const puppeteer = require("puppeteer")

The important line here is the third one. It sets up the script's environment with a specific package.

Module request

If you need us to install a specific module, contact us at [email protected] and we'll do what we can :smiley:

Package upgrades

A few times a year, PhantomBuster will release new packages with updated versions of all bundled software.

Even though our platform guarantees support for old packages by always running the scripts that use it in the exact same environment (dependencies, modules, headless browsers, etc), the world around our platform will continue to change (e.g. websites, web features, protocols, DOM versions, internet infrastructure will evolve over the years). For this reason, we highly recommend you to upgrade your scripts to the latest package we provide.

For example, in September 2021, when the legacy Let's Encrypt root certificate expired, packages 5 and below became unable to establish secure connections to hosts using Let's Encrypt provided certificates. This is because packages are frozen snapshots of software — in this case, the old packages did not contain the latest versions of the root certificates.

Available packages

Package 6: Headless Chrome 90 and Firefox 90

To use this package, add "phantombuster package: 6" at the beginning of your script. It includes:

  • Headless Chrome 90.0.4430.93
  • Firefox 90.0a1
  • Puppeteer 5.5.0
  • Node 14.x (installed from NodeSource setup_14.x)

Exact versions of all bundled modules:

@keyv/[email protected]
@keyv/[email protected]
@keyv/[email protected]
@keyv/[email protected]
@keyv/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

Package 5: Headless Chrome 65 (deprecated)

❗️

Deprecation notice

This package is deprecated. New scripts should NOT be using this package. Old scripts will continue working in the same PhantomBuster provided environment, but the external world will continue changing, so we encourage you to upgrade your scripts to the newest package available.

To use this package, add "phantombuster package: 5" at the beginning of your script. It includes:

Exact versions of all bundled modules:

@keyv/[email protected]
@keyv/[email protected]
@keyv/[email protected]
@keyv/[email protected]
@keyv/[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

Package 4: Headless Chrome 62 (deprecated)

❗️

Deprecation notice

This package is deprecated. New scripts should NOT be using this package. Old scripts will continue working in the same PhantomBuster provided environment, but the external world will continue changing, so we encourage you to upgrade your scripts to the newest package available.

To use this package, add "phantombuster package: 4" at the beginning of your script. It includes:

Exact versions of all bundled modules:

@keyv/[email protected]
@keyv/[email protected]
@keyv/[email protected]
@keyv/[email protected]
@keyv/[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

Package 3: PhantomJS 2.1.1 (deprecated)

❗️

Deprecation notice

This package is deprecated. New scripts should NOT be using this package. Old scripts will continue working in the same PhantomBuster provided environment, but the external world will continue changing, so we encourage you to upgrade your scripts to the newest package available.

To use this package, add "phantombuster package: 3" at the beginning of your script. It includes:

Exact versions of all bundled modules:

[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
babe[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

Package 2: PhantomJS 2.1.1 (deprecated)

❗️

Deprecation notice

This package is deprecated. New scripts should NOT be using this package. Old scripts will continue working in the same PhantomBuster provided environment, but the external world will continue changing, so we encourage you to upgrade your scripts to the newest package available.

To use this package, add "phantombuster package: 2" at the beginning of your script. This package was added July 18th 2016. It includes:

Exact versions of all bundled modules:

[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

Package 1: PhantomJS 1.9.8 (deprecated)

❗️

Deprecation notice

This package is deprecated. New scripts should NOT be using this package. Old scripts will continue working in the same PhantomBuster provided environment, but the external world will continue changing, so we encourage you to upgrade your scripts to the newest package available.

To use this package, add "phantombuster package: 1" at the beginning of your script.

This is the original Phantombuster package. It includes:

Exact versions of all bundled modules:

[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

Updated 10 days ago


Packages & modules


Know which modules are bundled with your scripts

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.