Skip to content
taiko plugin to record screencast of a script run
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Removed client handler for loading plugin dynamically Jun 17, 2019
.eslintrc first push of taiko-screencast Apr 4, 2019
.gitignore
.npmignore
LICENSE
README.md
package-lock.json
package.json Downgrade canvas version Jun 20, 2019

README.md

Taiko Screencast Plugin

A plugin to record a gif video of a taiko script run.

Install

npm install --save-dev taiko-screencast

Example

Add this script in a file script.js.

const { openBrowser, closeBrowser, click, screencast } = require('taiko');

(async () => {
    try {
        await openBrowser();
        await screencast.startScreencast('output.gif');
        await goto('gauge.org');
        await click('Plugins');
        // more actions
        // ...
    } finally {
        await screencast.stopScreencast();
        await closeBrowser();
    }
})();

Run script with:

taiko script.js
taiko script.js --plugin taiko-screencast //Use --plugin to load a plugin in case of multiple plugins.

License

MIT

You can’t perform that action at this time.