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

cucumber-wd-plugin

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cucumber-wd-plugin

A cucumber listener with wd bindings

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

cucumber-wd-plugin

Provide this plugin with a reference to the cucumber runtime and it will initialize a selenium session given a set of configuration data and automatically close your session after cucumber completes

Configuration

see lib/defaultConfig.js for an example config

If you are using SauceLabs be sure to set your SAUCE_USERNAME and SAUCE_ACCESS_KEY in your environment variables or pass them in your config. See wd's readme for details.

Usage

If you're functionally executing cucumber you can pass the runtime:

var wdPlugin = require('cucumber-wd-plugin')
var browserPromise = wdPlugin(runtime, config)

In this case you'll need to create some gating method to wait for the browser to be constructed.

You can also register the plugin within a step definition (see example). This functionality is currently waiting on a pull request.

Example

See this example for usage

Support

If you're using cucumber-js with grunt-cucumber like I am you'll want to take a look at this pull request

FAQs

Package last updated on 09 Sep 2013

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