Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pavlelekic/replaybrowser
Javascript library for recording and playback of mouse and keyboard events. It can be used for recording macros, automation...
https://github.com/pavlelekic/replaybrowser
Last synced: about 6 hours ago
JSON representation
Javascript library for recording and playback of mouse and keyboard events. It can be used for recording macros, automation...
- Host: GitHub
- URL: https://github.com/pavlelekic/replaybrowser
- Owner: pavlelekic
- Created: 2015-11-30T16:01:52.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-27T12:06:17.000Z (over 8 years ago)
- Last Synced: 2024-11-09T16:25:50.264Z (about 2 months ago)
- Language: CSS
- Homepage:
- Size: 887 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Unit tests
----------Most of the code is unit tested. I used Karma test runner so you can run tests in parallel on any number of browsers/devices. Also I added jshint checks before every test run. To run tests (and linter before tests) do the following:
1. start karma server (`karma-server.cmd` on Windows, or `./karma-server.sh` on Linux)
2. connect at least one browser by navigating to [localhost:9876](http://localhost:9876/)
3. run `lint-and-test.cmd` on Windows, or `./lint-and-test.sh` on Linux from the root directory of the project
To add new files for testing open `fileLists.js` and add files in the order in which you want Karma to load them.Coverage analysis
-----------------To get coverage analysis, run `karma-coverage-server.cmd` on Windows, or `./karma-coverage-server.sh` on Linux. Then run tests same as before. In the coverage/ dir you will see a new directory generated for every browser. Open `index.html` to see coverage results.
Release
-------To concat all the js files into a working bookmarklet run `node build-bookmarklet.js`. You will see a finished version in the `release/` directory.