Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix(screencast): tune ffmpeg params for better quality (#3798)
Yury Semikhatsky8f81868b9c74
diff --git a/src/server/chromium/videoRecorder.ts b/src/server/chromium/videoRecorder.tsindex 4c934c3394..f3c9958cfa 100644--- a/src/server/chromium/videoRecorder.ts+++ b/src/server/chromium/videoRecorder.ts@@ -53,7 +53,7 @@ export class VideoRecorder {assert(!this._isRunning());const w = options.width;const h = options.height;- const args = `-loglevel error -f image2pipe -c:v mjpeg -i - -y -an -r ${fps} -c:v vp8 -vf pad=${w}:${h}:0:0:gray,crop=${w}:${h}:0:0`.split(' ');+ const args = `-loglevel error -f image2pipe -c:v mjpeg -i - -y -an -r ${fps} -c:v vp8 -qmin 0 -qmax 50 -crf 8 -vf pad=${w}:${h}:0:0:gray,crop=${w}:${h}:0:0`.split(' ');args.push(options.outputFile);const progress = this._progress;