[ ] Open a class file and implement the blow logic to trigger the registered node on hub using nodeURL and required desired Capabilities.
[ ] Need to add Desired capabilities with details of browser name and platform name of Node. We can fetch from https://hubURL:4444/grid/console on hovering to registered browser.
[ ] Make sure we are using RemoteWebDiver to launch the driver including parameters as nodeURL and desiredCapabilitiesobject.
To config Selenium Grid. Please find #4.
To implement Selenium Grid on Hub to trigger Node
[ ] Open a class file and implement the blow logic to trigger the registered node on hub using nodeURL and required desired Capabilities.
[ ] Need to add Desired capabilities with details of browser name and platform name of Node. We can fetch from https://hubURL:4444/grid/console on hovering to registered browser.
[ ] Make sure we are using RemoteWebDiver to launch the driver including parameters as nodeURL and desiredCapabilities object.
import java.net.MalformedURLException; import java.net.URL;
import org.openqa.selenium.Platform; import org.openqa.selenium.WebDriver; import org.openqa.selenium.remote.DesiredCapabilities; import org.openqa.selenium.remote.RemoteWebDriver;
public class GridSetup {
}