com.automation.remarks.remote.StartGrid Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of video-recorder-remote Show documentation
Show all versions of video-recorder-remote Show documentation
Video Recorder is a library that allows to record selenium tests
The newest version!
package com.automation.remarks.remote;
import org.openqa.grid.selenium.GridLauncherV3;
/**
* Created by Serhii_Pirohov on 10.05.2016.
*/
public class StartGrid {
public static void main(String[] args) throws Exception {
String[] hub = {"-port", "4444",
"-host", "localhost",
"-role", "hub" };
GridLauncherV3.main(hub);
String[] node = {"-port", "5555",
"-host", "localhost",
"-role", "node",
"-hub", "http://localhost:4444/grid/register",
"-servlets", "com.automation.remarks.remote.node.Video"};
GridLauncherV3.main(node);
}
}