min-wd
Advanced tools
Comparing version 0.4.5 to 1.0.0
{ | ||
"name": "min-wd", | ||
"version": "0.4.5", | ||
"version": "1.0.0", | ||
"description": "Minimal WebDriver that pipes stdin to browsers", | ||
@@ -22,3 +22,3 @@ "keywords": [ | ||
"scripts": { | ||
"test": "jslint --color './**/*.js'" | ||
"test": "jslint --color \"**/*.js\"" | ||
}, | ||
@@ -30,8 +30,8 @@ "repository": { | ||
"dependencies": { | ||
"through": "^2.3.4", | ||
"listen": "^1.0.0", | ||
"brout": "~0.2.0" | ||
"through": "^2.3", | ||
"listen": "^1.0", | ||
"brout": "^1.0" | ||
}, | ||
"devDependencies": { | ||
"jslint": "~0.3.1" | ||
"jslint": "^0.6" | ||
}, | ||
@@ -38,0 +38,0 @@ "files": [ |
@@ -93,3 +93,3 @@ # Minimal WebDriver | ||
``` | ||
$ browserify -t min-wd my-test.js | mocaccino -b -r list | min-wd | ||
$ browserify -t min-wd -p mocaccino my-test.js | min-wd | ||
``` | ||
@@ -109,6 +109,8 @@ | ||
## IE trouble shooting | ||
## Known issues and solutions | ||
If IE 9 reports it can't find `JSON`, then the Selenium default page makes IE | ||
switch to quirks mode. Work around this by loading a simple web page for IE: | ||
`min-webdriver` injects your script directly into the default page launched by | ||
the Selenium driver. In some cases browsers behave strangely in this context. | ||
Work around this by specifying a URL to a simple web page that is loaded before | ||
running the tests: | ||
@@ -131,2 +133,12 @@ ``` | ||
You can also specify a `"url"` for all browser on the root level. | ||
Loading a page before injecting the scripts is solving these issues: | ||
- IE 9 reporting it can't find `JSON` because the Selenium default page makes | ||
IE switch to quirks mode | ||
- Error: `SECURITY_ERR: DOM Exception 18` because setting cookies is not | ||
allowed for `file://` URLs | ||
- Error: `access to the Indexed Database API is denied in this context` | ||
## License | ||
@@ -133,0 +145,0 @@ |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
15738
0
150
+ Addedbrout@1.3.0(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedthrough2@2.0.5(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedxtend@4.0.2(transitive)
- Removedbrout@0.2.0(transitive)
Updatedbrout@^1.0
Updatedlisten@^1.0
Updatedthrough@^2.3