Skip to content

Video Recording

Hemanth Sridhar edited this page Apr 25, 2017 · 2 revisions

In order to setup video recording in nodes,

  1. Download selenium server standalone jar
  2. Download selenium video node jar

Node configuration

Windows

java -cp selenium-video-node-2.3.jar;selenium-server-standalone-3.3.1.jar org.openqa.grid.selenium.GridLauncherV3 -servlets com.aimmac23.node.servlet.VideoRecordingControlServlet -proxy com.aimmac23.hub.proxy.VideoProxy -role node -hub http://blabla:4444/grid/register -port portNumber

Linux

java -cp selenium-video-node-2.3.jar:selenium-server-standalone-3.3.1.jar org.openqa.grid.selenium.GridLauncherV3 -servlets com.aimmac23.node.servlet.VideoRecordingControlServlet -proxy com.aimmac23.hub.proxy.VideoProxy -role node -hub http://blabla:4444/grid/register -port portNumber

Hub Configuration

Windows

java -cp selenium-video-node-2.3.jar;selenium-server-standalone-3.3.1.jar -Dvideo.storage=com.aimmac23.hub.videostorage.LocalFileVideoStore -Dvideo.path=D:\Videos org.openqa.grid.selenium.GridLauncherV3 -servlets com.aimmac23.hub.servlet.HubVideoDownloadServlet,com.aimmac23.hub.servlet.HubVideoInfoServlet -role hub

Linux

java -cp selenium-video-node-2.3.jar:selenium-server-standalone-3.3.1.jar -Dvideo.storage=com.aimmac23.hub.videostorage.LocalFileVideoStore -Dvideo.path=home/hemanth/Videos org.openqa.grid.selenium.GridLauncherV3 -servlets com.aimmac23.hub.servlet.HubVideoDownloadServlet,com.aimmac23.hub.servlet.HubVideoInfoServlet -role hub

Clone this wiki locally