Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 1a4eea4

Browse files
committed
fix(elementexplorer): elementexplorer hangs when returning ElementFinder
1 parent 710cad7 commit 1a4eea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/elementexplorer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ var flowEval = function(code, context, file, callback) {
8080
process.domain.emit('error', vmErr);
8181
process.domain.exit();
8282
}
83-
return webdriver.promise.fulfilled(result);
83+
return result.then(function(val) {return val});
8484
}).then(function(res) {
8585
if (!vmErr) {
8686
callback(null, res);

0 commit comments

Comments
 (0)