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

selenium-drivers

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

selenium-drivers

Node.js binding for selenium browser drivers. Sets up your system environment and keeps drivers up to date for various browsers and operating systems.

  • 2.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
67
increased by4.69%
Maintainers
1
Weekly downloads
 
Created
Source

selenium-drivers

Node.js binding for selenium browser drivers. Sets up your system environment and keeps drivers up to date for various browsers and operating systems.

  • Currently works only with WebDriverJs
  • Suitable for running locally or with CI
  • supported NodeJs: 6.x or above
  • by default uses newest drivers (make sure your browser is also up to date)

Use case:

seleniumDrivers.init({

    browserName: 'chrome',
    download: true

}).then(function () {

    var driver = new webDriver.Builder()
        .forBrowser('chrome')
        .build();

    driver.get('http://www.google.com/ncr');
});

Options

  • browserName: ('chrome' | 'firefox' | 'internet explorer' | 'safari') specify browser name
  • download: (true | false) disable driver download (default: true)
  • deactivate: (true | false) deactivate library (useful when running with custom browser capabilities where driver is provided, eg: for sauceLabs, or browserStack) (default: false)

Supported Browsers

BrowserOperating Systems
ChromemacOS_64, Windows7,8,10
FirefoxmacOS_64, Windows7,8,10
Internet ExplorerWindows7,8,10
SafarimacOS >= ElCaptain
  • Nodejs >= 6.x required on all OS.
  • No guarantee to run on outdated browsers.

RoadMap

  • linux support
  • option to set custom browser driver version
  • option to set custom browser driver archive url
  • custom url pattern
  • Edge, Opera, PhantomJS support
  • programmatic start/stop feature (for non WebDriverJs usage)

FAQs

Package last updated on 14 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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