/js--nightwatch-recorder

NightwatchJs recorder for Chrome

Primary LanguageJavaScriptGNU General Public License v2.0GPL-2.0

Chrome Nightwatch.js Recorder ( based on Resurrectio )

Original project is at https://github.com/ebrehault/resurrectio.git

Installation

From Github sources:

git clone git@github.com:vvscode/js--nightwatch-recorder.git

It will produce a ./resurrectio folder.

Then, in Chrome:

  • go to Tools / Extensions,
  • expand Developer mode,
  • click Load unpacked extension,
  • select the ./js--nightwatch-recorder folder.

Usage

Click on the Resurrectio extension icon.

Enter the start URL, and click Go.

Then execute your usage scenario, all the events will be recorded.

By right-clicking on the page, you might also record some assertion (about the current url, about existing text, etc.).

You can request a screenshot at any moment (they will be produced everytime you run the resulting test).

You might also record some comments (click again on the extension icon, and click Add comment).

When you are done, click again on the extension icon, and click Stop recording.

Now, generate the CasperJS test script by clicking Export NightwatchJS.

It will play your entire scenario and generate the screenshots.

Future features

Implement more mouse events, like drag & drop and mousewheel.

Credits

Author

Companies

makinacom

Bitdeli badge Bitdeli badge