blueimp / nightwatch-video-recorder Goto Github PK
View Code? Open in Web Editor NEWRecord videos of Nightwatch.js test sessions. Uses ffmpeg to capture a (remote) webdriver desktop screen.
Record videos of Nightwatch.js test sessions. Uses ffmpeg to capture a (remote) webdriver desktop screen.
When I run a headless test using Xvfb, I get the video output with a blank screen. Is Nightwatch video recorder supported for headless?
✖ Error: spawn ffmpeg ENOENT
at exports._errnoException (util.js:1026:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:359:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
FAILED: 1 errors (321ms)
_________________________________________________
TEST FAILURE: 1 error during execution, 0 assertions failed, 0 passed. (449ms)
× portal_main_page
- Displaying the items of main page (321ms)
Error while running [Portal Main Page / Displaying the items of main page]:
Error: spawn ffmpeg ENOENT
at exports._errnoException (util.js:1026:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:359:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
Error retrieving a new session from the selenium server
Hi guys, have had an error when did everything according to the instructions
Hi, great work.
Can Chrome headless be supported? I understand it'd be a whole different approach yet doable by using Chrome's screenCast as commented here: ChromeDevTools/devtools-protocol#17 (comment)
Thank you!
Hello,
My terminal prompts error. The code is as follows. Why is this?
[email protected] test I:\demo\master
nightwatch --env local "--a" "login"
Starting selenium server in parallel mode... ✔ Selenium & Chromedriver downloade d to: ./node_modules/nightwatch/bin/
started - PID: 26380
Started child process for: login
login finished.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test: nightwatch --env local "--a" "login"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test script.
npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Roaming\npm-cache_logs\2017-10-13T08_49_32_1 79Z-debug.log
This looks like a really neat module but when I try to run this on OS X, ffmpeg bails because it doesn't understand the input format 'x11grab':
✖ Error: Command failed: ffmpeg -video_size 1440x900 -r 15 -f x11grab -i localhost:60 -pix_fmt yuv420p -loglevel error /blah/blah/tests-2017-03-04T08-49-16.mp4
Unknown input format: 'x11grab'
at ChildProcess.exithandler (child_process.js:206:12)
at maybeClose (internal/child_process.js:877:16)
at Socket.<anonymous> (internal/child_process.js:334:11)
at Pipe._handle.close [as _onclose] (net.js:498:12)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.