Hi @mbork,
testcafe-live
does not have a programming interface at the moment, but if you just want to run it from your js script, you can use the following code:
const { exec } = require('child_process');
exec('testcafe-live chrome ./tests', (error, stdout, stderr) => {
if (error)
console.error(`exec error: ${error}`);
else {
console.log(`stdout: ${stdout}`);
console.log(`stderr: ${stderr}`);
}
});