Open VladimirPittner opened 6 years ago
Hi @VladimirPittner, Please tell me chromy version. and, could you make a minimal reproduce sample?
Hi @dotneet,
sorry for late response.
So I did simple test just now with clean BackstopJS 3.0.32 and Chromy 0.5.5 install.
I used the files provided in BackstopJS to make minimal sample, so I just added this lines to backstop_data\engine_scripts\chromy\onReady.js
:
module.exports = function (chromy, scenario, vp) {
console.log('CHROMY SEND TEST');
chromy.send('CSS.disable');
};
This should probably disable the CSS before taking screenshot but it does not.
It is possible that I totally misunderstood the way how .send() should be used, in that case could you please provide little demo explanation how to use it correctly?
Thanks a lot.
Hi, I am using Chromy in BackstopJS, and I already made an issue in BackstopJS (https://github.com/garris/BackstopJS/issues/568) and Garris thinks it might be actually Chromy issue so here it is:
I tried to use chromy.send() (for example chromy.send('CSS.disable') ) to call DevTools protocol directly, but I always get this error :
COMMAND | Error: 'send' is not defined on a target object.
Did anyone tried to use the .send()? Did it worked?
Thanks /V