Browser based screen recordings not working

I am not able to get the browser based screen recording feature to work. I am following the steps described here: Generate browser-based videos in Katalon Studio reports | Katalon Docs.

The problem occurs when running a web test using headless chrome in a trial version of Katalon Studio 8.6.8. on MacOS 13.3.1 with Chrome version 118.0.5993.70. The generated report directory contains a ‘video’ directory with a .srt file but no video’s. Also, the following error message appears in the console:

2023-10-13 15:32:27.030 INFO  c.k.k.core.webui.driver.DriverFactory    - browser = Chrome 118.0.5993.70
2023-10-13 15:32:27.031 INFO  c.k.k.core.webui.driver.DriverFactory    - platform = Mac OS X
2023-10-13 15:32:27.031 INFO  c.k.k.core.webui.driver.DriverFactory    - seleniumVersion = 3.141.59
2023-10-13 15:32:27.033 INFO  c.k.k.core.webui.driver.DriverFactory    - proxyInformation = ProxyInformation { proxyOption=NO_PROXY, proxyServerType=HTTP, username=, password=********, proxyServerAddress=, proxyServerPort=0, executionList="", isApplyToDesiredCapabilities=true }
[SEVERE] Could not dispatch event: class com.kms.katalon.core.event.TestingEvent to subscribing class class com.kms.katalon.core.context.internal.VideoRecorderService
com.github.kklisura.cdt.services.exceptions.ChromeServiceException: Failed connecting to tab web socket.
	at com.github.kklisura.cdt.services.impl.ChromeServiceImpl.createDevToolsService(ChromeServiceImpl.java:206)
	at com.github.kklisura.cdt.services.impl.ChromeServiceImpl.createDevToolsService(ChromeServiceImpl.java:161)
	at com.kms.katalon.core.util.CDTUtils.getService(CDTUtils.java:41)
	at com.kms.katalon.core.helper.screenrecorder.CDTVideoRecorder.startCDTRecording(CDTVideoRecorder.java:116)
	at com.kms.katalon.core.helper.screenrecorder.CDTVideoRecorder.start(CDTVideoRecorder.java:90)
	at com.kms.katalon.core.helper.screenrecorder.CDTVideoRecorder.resume(CDTVideoRecorder.java:96)
	at com.kms.katalon.core.helper.screenrecorder.VideoRecorder.resume(VideoRecorder.java:70)
	at com.kms.katalon.core.context.internal.VideoRecorderService.startBrowserRecorder(VideoRecorderService.java:177)
	at com.kms.katalon.core.context.internal.VideoRecorderService.onTestingEvent(VideoRecorderService.java:88)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Has anybody else encountered this? Is this a bug?

2 Likes

Please check proxy setting