New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

browsers

Package Overview
Dependencies
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browsers

A simple browser driver.

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.2K
decreased by-16.19%
Maintainers
2
Weekly downloads
 
Created
Source

browsers

A simple browser driver.


0. Features

  • Detect available browsers.
  • Open specified browsers to visit specified URL.
  • Close specified browsers.

Supported browsers

Both on mac and windows.

Be mind that all browsers must be installed in default path.

  • Chrome
  • Safari
  • Firefox
  • IE

1. Installation

Install From npm

npm install browsers -g

Install From Github

to get the latest function

git clone git@github.com:totorojs/browsers.git
cd browsers
npm install -g

2. Quick Start

Detect all available browsers and visit totorojs.org.

$ browsers --capture=totorojs.org

Specifiy chrome and firefox to visit totorojs.org.

$ browsers --capture=totorojs.org --browsers=chrome,firefox

3. Cli Options

-c, --capture

Specify URL to visit.

-b, --browsers

Specify browsers to open.

Default: all available browsers on OS.

-d, --debug

Show debug log.

-v, --version

Output version number.

-h, --help

Output usage information.

Keywords

FAQs

Package last updated on 29 May 2014

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