Skip to content

Instantly share code, notes, and snippets.

@cnishina
Last active May 27, 2016 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cnishina/6e90386a7f087996334e143e7326b2c8 to your computer and use it in GitHub Desktop.
Save cnishina/6e90386a7f087996334e143e7326b2c8 to your computer and use it in GitHub Desktop.
webdriver-manager log example
09:32:00.421 INFO - Executing: [get: data:text/html,<html></html>])
09:32:00.442 INFO - Done: [get: data:text/html,<html></html>]
09:32:00.454 INFO - Executing: [execute script: window.name = "NG_DEFER_BOOTSTRAP!" + window.name;window.location.replace("http://localhost:8081/ng2/#/async");, []])
09:32:01.191 INFO - Done: [execute script: window.name = "NG_DEFER_BOOTSTRAP!" + window.name;window.location.replace("http://localhost:8081/ng2/#/async");, []]
09:32:01.199 INFO - Executing: [execute script: return window.location.href;, []])
09:32:01.225 INFO - Done: [execute script: return window.location.href;, []]
09:32:01.234 INFO - Executing: [execute async script: try { return (function (attempts, asyncCallback) {
var callback = function(args) {
setTimeout(function() {
asyncCallback(args);
}, 0);
};
var check = function(n) {
try {
if (window.getAllAngularTestabilities) {
callback({ver: 2});
} else if (window.angular && window.angular.resumeBootstrap) {
callback({ver: 1});
} else if (n < 1) {
if (window.angular) {
callback({message: 'angular never provided resumeBootstrap'});
} else {
callback({message: 'retries looking for angular exceeded'});
}
} else {
window.setTimeout(function() {check(n - 1);}, 1000);
}
} catch (e) {
callback({message: e});
}
};
check(attempts);
}).apply(this, arguments); }
catch(e) { throw (e instanceof Error) ? e : new Error(e); }, [10]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment