Skip to content

vvscode/js--nightwatch-recorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

446efe2 Â· Jul 10, 2023
Oct 10, 2018
Oct 8, 2018
Oct 7, 2018
Oct 11, 2018
Oct 8, 2018
Oct 17, 2018
Jul 10, 2023
Jul 10, 2023
Jun 4, 2012
Oct 8, 2018
Oct 8, 2018
Oct 8, 2018
Oct 13, 2018
Oct 17, 2018

Repository files navigation

Nightwatch.js test recorder extension for Google Chrome

RUS | Based on Ressurectio

Installation

  1. Clone repo or download and extract
  2. Go to Chrome Tools / Extensions
  3. Expand Developer mode
  4. Click Load unpacked extension...
  5. Select folder with repo
  6. Use extension!

Usage

Click on the extension icon, optionally 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., depending on clicked element).

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 test template script by clicking Export Nightwatch.js.

When running in Nightwatch.js, it should play your entire scenario and generate the screenshots.

Future features

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

Credits

Author

Contributors

Athyk