Skip to content

Commit 73a4082

Browse files
committed
fix: Workaround for hanging chromedriver after finishing the task
Wait for 100ms before going on after ending webdrioverio client See webdriverio/selenium-standalone#351 for more information. Update npm modules.
1 parent e75e783 commit 73a4082

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ your code using Grunt.
497497
498498
## Release History
499499
500+
* 2018-03-28 [v1.0.1] Workaround for hanging chromedriver after finishing the task
500501
* 2018-03-11 [v1.0.0] Require Node.js >= 6
501502
* 2018-03-11 [v0.8.0] Add a new instruction - "abort"
502503
* 2018-03-01 [v0.7.0] Add optional automatic file numbering

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@
4444
"grunt-contrib-clean": "^1.1.0",
4545
"grunt-contrib-connect": "^1.0.2",
4646
"grunt-contrib-nodeunit": "^1.0.0",
47-
"grunt-coveralls": "^1.0.1",
47+
"grunt-coveralls": "^2.0.0",
4848
"grunt-istanbul": "^0.8.0",
4949
"grunt-selenium-standalone": "^1.0.1",
5050
"grunt-standard": "^3.1.0",
5151
"nsp": "^3.2.1",
5252
"phantomjs-prebuilt": "^2.1.16",
53-
"semantic-release": "^15.0.2",
54-
"travis-deploy-once": "^4.4.0"
53+
"semantic-release": "^15.1.4",
54+
"travis-deploy-once": "^4.4.1"
5555
},
5656
"peerDependencies": {
5757
"grunt": ">=0.4.5"

tasks/html-dom-snapshot.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ module.exports = function (grunt) {
9696
grunt.util.pluralize(screenshotCount, 'screenshot/screenshots') +
9797
' written.')
9898
return client.end()
99+
// Workaround for hanging chromedriver; for more information
100+
// see https://github.com/vvo/selenium-standalone/issues/351
101+
.pause(100)
99102
})
100103
.catch(function (error) {
101104
grunt.verbose.error(error.stack)

0 commit comments

Comments
 (0)