taiko
taiko copied to clipboard
Getting error while using the https://www.npmjs.com/package/taiko-diagnostics
I have installed Taiko and able to execute the openBrowser() .API' as well. However after installing the "npm install taiko-diagnostics --save" from https://www.npmjs.com/package/taiko-diagnostics, when using the startTracing(), getting error "Uncaught startTracing is not defined "
To Reproduce Steps (or script) to reproduce the behavior:
- Go to command prompt
- Type npx Taiko
- Type openBrowser()
- Type startTracing()
- getting error
const { diagnostics, openBrowser, closeBrowser } = require('taiko');
(async () => {
try {
await openBrowser();
} catch (error) {
console.error(error);
} finally {
await closeBrowser(); } })();
Logs
Screenshots

Taiko Version

Version: 1.3.2 (Chromium: 100.0.4874.0) RELEASE
Have you enabled the plug-in when starting taiko repl?
Try this taiko --plugin taiko-diagnostics