jwebdriver
Advanced tools
Comparing version 0.9.5 to 0.9.6
jWebDriver change logs | ||
==================== | ||
## ver 0.9.6 (2014-4-14) | ||
edit: | ||
1. fixed the version of depend module | ||
fix: | ||
1. support for new version of webdriver: 2.41.0 | ||
2. fix baidu demo | ||
## ver 0.9.5 (2013-9-6) | ||
@@ -5,0 +16,0 @@ |
@@ -13,3 +13,3 @@ var JWebDriver = require('../'); | ||
browser.url('http://www.baidu.com/'); | ||
var kw = browser.waitFor('#kw',2000); | ||
var kw = browser.waitFor('#kw1',2000); | ||
if(browser.isOk(kw)){ | ||
@@ -16,0 +16,0 @@ kw.val('mp3').submit(); |
@@ -284,4 +284,11 @@ /** | ||
if (result.status === 0) {//操作成功 | ||
self.log('RESULT', result.value); | ||
result = result.value; | ||
if(cmd === 'setSession'){ | ||
self.sessionId = result.sessionId; | ||
self.log('RESULT', self.sessionId); | ||
result = ''; | ||
} | ||
else{ | ||
self.log('RESULT', result.value); | ||
result = result.value; | ||
} | ||
} | ||
@@ -288,0 +295,0 @@ else { |
@@ -5,3 +5,3 @@ | ||
Copyright (c) 2012 Yanis Wang \<yanis.wang@gmail.com\> | ||
Copyright (c) 2014 Yanis Wang \<yanis.wang@gmail.com\> | ||
@@ -8,0 +8,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | ||
"name": "jwebdriver", | ||
"version": "0.9.5", | ||
"version": "0.9.6", | ||
"description": "A webdriver client for node.js", | ||
"main": "./index", | ||
"dependencies": { | ||
"fibers": "~1.0.0", | ||
"xtend": "~2.0.3" | ||
"fibers": "1.0.0", | ||
"xtend": "2.0.3" | ||
}, | ||
"devDependencies": { | ||
"mocha": "*", | ||
"should": "*", | ||
"jscover": "*" | ||
"mocha": "1.8.2", | ||
"should": "1.2.1", | ||
"jscover": "0.2.4" | ||
}, | ||
@@ -15,0 +15,0 @@ "scripts": { |
@@ -8,3 +8,3 @@ jWebDriver | ||
jsCoverage: [90%](http://yaniswang.com/jWebDriver/coverage.html) | ||
jsCoverage: [87%](http://yaniswang.com/jWebDriver/coverage.html) | ||
@@ -99,3 +99,3 @@ Features | ||
> | ||
> Copyright (c) 2012 Yanis Wang \<yanis.wang@gmail.com\> | ||
> Copyright (c) 2014 Yanis Wang \<yanis.wang@gmail.com\> | ||
> | ||
@@ -102,0 +102,0 @@ > Permission is hereby granted, free of charge, to any person obtaining a copy |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
706922
4490
+ Addedfibers@1.0.0(transitive)
+ Addedxtend@2.0.3(transitive)
- Removedfibers@1.0.15(transitive)
- Removedforeach@2.0.6(transitive)
- Removedindexof@0.0.1(transitive)
- Removedis@0.2.7(transitive)
- Removedis-object@0.1.2(transitive)
- Removedobject-keys@0.2.0(transitive)
- Removedxtend@2.0.6(transitive)
Updatedfibers@1.0.0
Updatedxtend@2.0.3