webdriver-sizzle
Advanced tools
Comparing version 0.0.0 to 0.0.1
{ | ||
"name": "webdriver-sizzle", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "Locate a selenium-webdriver element by sizzle CSS selector", | ||
@@ -36,3 +36,3 @@ "author": "Good Eggs <open-source@goodeggs.com>", | ||
"scripts": { | ||
"build": "coffee scripts/minify.coffee > lib/sizzle.min.js && coffee --bare --compile --output lib/ src/", | ||
"build": "coffee --bare --compile --output lib/ src/ && coffee scripts/minify.coffee > lib/sizzle.min.js", | ||
"pretest": "npm run-script build", | ||
@@ -39,0 +39,0 @@ "test": "mocha", |
webdriver-sizzle [![NPM version](https://badge.fury.io/js/webdriver-sizzle.png)](http://badge.fury.io/js/webdriver-sizzle) [![Build Status](https://travis-ci.org/goodeggs/webdriver-sizzle.png)](https://travis-ci.org/goodeggs/webdriver-sizzle) | ||
============== | ||
Locate a selenium-webdriver element by sizzle CSS selector | ||
Locate a [selenium-webdriver](https://npmjs.org/package/selenium-webdriver) element by sizzle CSS selector. | ||
```js | ||
var selenium = require('selenium-webdriver'), | ||
sizzle = require('webdriver-sizzle'), | ||
driver = new webdriver.Builder() | ||
.withCapabilities(webdriver.Capabilities.phantomjs()) | ||
.build() | ||
$ = sizzle(driver) | ||
$('.btn').click() | ||
``` |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
6768
18
2