Search code examples
testingautomated-testse2e-testingvideo-capturetestcafe

Testcafe - Is it possible (should it be possible) to record video with portable browsers?


I have one simple (or two) question(s): Is it possible to record videos with a portable browser of Edge? Also, is it in general possible to record videos with portable browsers of which video recording support exist? Thank you in advance :)


Solution

  • To record a video with a portable browser, you need to specify the browser alias explicitly instead of the word "path":

    testcafe edge:e:/tools/edge-portable/msedge.exe test.js --video video-artigacts.

    Note that video recording is supported in Google Chrome, Mozilla Firefox, and Microsoft Edge (Chromium-based). TestCafe cannot record videos when you run tests in remote browsers.