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: 5" // use the 5th 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:

Available packages

Package 5: Headless Chrome 65

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

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]
chrome-remote-int[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[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. Old scripts will continue working. New scripts should NOT be using this package.

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]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[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. Old scripts will continue working. New scripts should NOT be using this package.

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. Old scripts will continue working. New scripts should NOT be using this package.

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 3 months 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.