temp-taiko
Version:
An easy to use wrapper over Chrome Remote Interface.
16 lines (14 loc) • 406 B
JavaScript
/**
* This is a placeholder method to start a repl from script.
* When taiko is invoked as a runner with `--load` option this method
* gets overwritten to start REPL server.
*
* @example
* import { repl } from 'taiko/recorder';
* await repl();
*/
module.exports.repl = async () => {
console.warn(
'[WARNING]: The "repl" api works only when the script is executed via taiko runner.',
);
};