Show More
@@ -51,6 +51,12 b' casper.notebookTest = function(test) {' | |||||
51 | }); |
|
51 | }); | |
52 | }; |
|
52 | }; | |
53 |
|
53 | |||
|
54 | casper.options.waitTimeout=5000 | |||
|
55 | casper.on('waitFor.timeout', function onWaitForTimeout(timeout) { | |||
|
56 | this.echo("Timeout for " + casper.getNotebookServer()); | |||
|
57 | this.echo("Is the notebook server running?"); | |||
|
58 | }); | |||
|
59 | ||||
54 | // Pass `console.log` calls from page JS to casper. |
|
60 | // Pass `console.log` calls from page JS to casper. | |
55 | casper.printLog = function () { |
|
61 | casper.printLog = function () { | |
56 | this.on('remote.message', function(msg) { |
|
62 | this.on('remote.message', function(msg) { |
General Comments 0
You need to be logged in to leave comments.
Login now