chai-webdriver
Advanced tools
Comparing version 0.5.2 to 0.5.3
{ | ||
"name": "chai-webdriver", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "Build more expressive integration tests with some webdriver sugar for chai.js", | ||
@@ -30,3 +30,3 @@ "main": "lib/index.js", | ||
"string": "~1.8.0", | ||
"webdriver-sizzle": "0.0.5" | ||
"webdriver-sizzle": "~0.0.5" | ||
}, | ||
@@ -33,0 +33,0 @@ "devDependencies": { |
@@ -1,6 +0,3 @@ | ||
# chai-webdriver | ||
# chai-webdriver [](https://travis-ci.org/goodeggs/chai-webdriver) [](https://david-dm.org/goodeggs/chai-webdriver) [](http://badge.fury.io/js/chai-webdriver) | ||
[](https://travis-ci.org/goodeggs/chai-webdriver) | ||
[](https://david-dm.org/goodeggs/chai-webdriver) | ||
Provides [selenium-webdriver](https://npmjs.org/package/selenium-webdriver) sugar for the [Chai](http://chaijs.com/) assertion library. Allows you to create expressive integration tests: | ||
@@ -15,3 +12,3 @@ | ||
All assertions start with a css selector, for example: | ||
All assertions start with a [Sizzle-compatible css selector](http://sizzlejs.com/), for example: | ||
@@ -63,12 +60,2 @@ - `expect('.list')` | ||
## Caveats | ||
Right now, we inject an instance of [Sizzle.js](http://sizzlejs.com/) onto the page to ease selection. This is not ideal because it might clobber stuff, but it's a start. And odds are it won't change anything for you. | ||
If you need to, you can reinject Sizzle into the page at any point with the following: | ||
```javascript | ||
chaiWebdriver.injectSizzle(driver); | ||
``` | ||
## Contributing | ||
@@ -75,0 +62,0 @@ |
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
0
21732
72
+ Addedwebdriver-sizzle@0.0.6(transitive)
- Removedwebdriver-sizzle@0.0.5(transitive)
Updatedwebdriver-sizzle@~0.0.5