Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

spectron

Package Overview
Dependencies
Maintainers
3
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spectron - npm Package Versions

1
7

3.1.3

Diff

Changelog

Source

3.1.3

  • Improve detection of Node integration inside application and gracefully handle disabled Node integration.
kevinsawicki
published 3.1.2 •

Changelog

Source

3.1.2

  • Add support for the async WebContents.savePage API. See the README for usage details.
kevinsawicki
published 3.1.1 •

Changelog

Source

3.1.1

  • Add support for the async BrowserWindow.capturePage API. See the README for usage details.
kevinsawicki
published 3.1.0 •

Changelog

Source

3.1.0

  • Supports Electron 1.1.x releases.
kevinsawicki
published 3.0.1 •

Changelog

Source

3.0.1

  • Added a new requireName option to Application for if your app is re-assigning the require function to a different name on window.
    • Fixed an issue where applications setting nodeIntegration to false could not be tested.
kevinsawicki
published 3.0.0 •

Changelog

Source

3.0.0

  • Spectron now runs with electron-chromedriver 1.0 and is targeted at apps using Electron 1.0 or later.
    • No API changes.
kevinsawicki
published 2.37.0 •

Changelog

Source

2.37.0

  • Added a restart() method to Application
    • Added support for the full Electron API
    • Many custom helpers have been removed in favor of accessing the Electron APIs directly through the new properties on the Application object.
      • app.client.getWindowBounds() should now be app.browserWindow.getBounds()
      • app.client.getClipboardText() should now be app.electron.clipboard.readText()
      • See the README or https://github.com/kevinsawicki/spectron/pull/18 for more details.
    • You should now use app.transferPromiseness instead of app.client.transferPromiseness to ensure these new properties are correctly transferred to chained promises.
kevinsawicki
published 1.37.0 •

Changelog

Source

1.37.0

  • Upgraded to WebdriverIO 4.0.4
    • Added a connectionRetryCount config option to Application that sets the default number of connection retries to make to ChromeDriver.
    • Added a connectionRetryTimeout config option to Application that sets the default number of milliseconds to wait when connecting to ChromeDriver.
kevinsawicki
published 0.37.0 •

kevinsawicki
published 0.36.1 •

Changelog

Source

0.36.1

  • Added a cwd config option to Application that sets the working directory of the launched application. This option defaults to process.cwd().
  • Added a getCwd command helper to get the current working directory of the main process.
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc