Socket
Socket
Sign inDemoInstall

node-horseman

Package Overview
Dependencies
8
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345Next

3.3.0

Diff

Changelog

Source

3.3.0 - 2017-04-06

Added

  • phantomOptions option for passing arbitrary PhantomJS CLI options - thanks @fabiocorneti
  • Support for per-action timeouts on .waitFor type actions - thanks @piercus

Fixed

  • .boundingRectangle() sometimes not using jQuery when it could - thanks @robsgreen
  • .evaluate() sometimes failing due to an utilized internal variable - thanks @robertpallas

Changed

  • Removed clientScripts option (it had no effect anyways)
awlayton
published 3.2.0 •

Changelog

Source

3.2.0 - 2016-10-21

Added

  • diskCache and diskCachePath options - thanks @efernandesng
awlayton
published 3.1.1 •

Changelog

Source

3.1.1 - 2016-06-17

Republish 3.1.0 without unwanted files which broke Windows installation

awlayton
published 3.1.0 •

Changelog

Source

3.1.0 - 2016-06-15

Added

  • .plainText() action - thanks @mzhangARS

Changed

  • Removed port constructor option (it no longer had any effect)
awlayton
published 3.0.1 •

Changelog

Source

3.0.1 - 2016-04-12

Fixed

  • .injectJs() now properly rejects when it fails
  • #158 - bug with injectBluebird option
awlayton
published 3.0.0 •

Changelog

Source

3.0.0 - 2016-04-06

Added

  • Support for adding custom actions via Horseman.registerAction
awlayton
published 3.0.0-beta2 •

Changelog

Source

3.0.0-beta2 - 2016-04-05

Added

  • .closeTab() action removes a tab and closes its page
  • tabClosed event fired when a tab is closed (by .closeTab() or something else)
  • .frameName() action
  • .frameCount() action
  • .frameNames() action
  • .switchToFocusedFrame() action
  • .switchToFrame() action
  • .switchToMainFrame() action
  • .switchToParentFrame() action
  • .download() action allows getting the raw contents of a URL (even works for binary files is using PhantomJS 2 or newer)

Changed

  • .log() now preserves resolution value of previous action
  • More output added to verbose debugging

Fixed

  • More readable stack traces from .evaluate() rejections (especially with long stack traces on)
  • Occasional bug with returning undefined in .evaluate() function

Deprecated

  • .switchToChildFrame() action is deprecated since PhantomJS deprecated it
awlayton
published 3.0.0-beta1 •

Changelog

Source

3.0.0-beta1 - 2016-03-22

Added

  • bluebird 3 functions are now chainable with Horseman actions
  • Support for callback/Promises in .evaluate() functions
  • .at() action allows registering callbacks to run in PhantomJS JavaScript environment (see Reame for details)
  • .setProxy() action allows changing Phantom's proxy settings (requires PhantomJS 2.0.0 or newer)
  • .includeJs() action allows injecting JavaScript from a URL
  • .put() action
  • Support for SlimerJS as well as PhantomJS - thanks @w33ble
  • Support for PhantomJS remote debugger - thanks @dustinblackman
  • Support for reading cookies.txt files
  • Options for injecting bluebird into each page for using Promises in browser
  • Option for automatically switching to newly opened tabs
  • Option for more verbose debug

Changed

  • Horseman Promises now reject on error
  • Waiting actions now reject on timeout (timeout callback is still called too)
  • Phantom's reourceTimeout now set to match Horseman's timeout
  • Horseman will use Phantom from the phantomjs-prebuilt/phantomjs npm packages if installed (still overridden by phantomPath option)

Fixed

  • .open() now rejects on fail - thanks @w33ble.
  • .crop() now works with zoomFactor other than 1 - thanks @wong2.
  • .waitForSelector() now uses JQuery for selectors (when avialable)
  • navigationRequested callback now called with correct parameters - thanks @grahamkennery.
  • Tabs/pages not opened by Horseman (e.g. by a link) are now correctly added to Horseman's list of tabs

Updated

  • bluebird dependency to 3.0.1
  • node-phantom-simple dependency to 2.2.4
  • clone dependency to 1.0.2
johntitus
published 2.8.2 •

Changelog

Source

2.8.2 - 2015-11-23

Fixed

  • #74 - do not try to exit PhantomJS when it failed to initialize
johntitus
published 2.8.1 •

Changelog

Source

2.8.1 - 2015-11-06

Fixed

  • .upload() now works in PhantomJS 1.x line (still broken in 2.x line) - thanks @flashhhh
  • logging for falsy arguments - thanks @awlayton
2345Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc