Commit 331f3176 authored by Alexandra Rogova's avatar Alexandra Rogova

small changes

parent e64d05bb
......@@ -19,7 +19,7 @@ function init_server (){
var ws = new Server({port: port});
ws.on('connection', function(w){
w.on('message', function(msg){
if (msg.includes("Done : ")){
if (msg.includes("Done")){
var time_spent = Date.now() - start;
console.log(msg + " in " + time_spent/1000 + "s");
browser.close();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment