-
Notifications
You must be signed in to change notification settings - Fork 2
Video Recording
In order to setup video recording in nodes,
- Download selenium server standalone jar
- 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
Next topic : OS key-value pairs to inject for platform parameter