Answers for "how to create remote webdriver"

0

how to create remote webdriver

String hubURL = "http://myip:4444/wd/hub";
	DesiredCapabilities capability = DesiredCapabilities.chrome();
	capability.setBrowserName("internet explorer");
	capability.setPlatform("WINDOWS");
	capability.setVersion("9.0.4");
	WebDriver driver = new RemoteWebDriver(new URL(hubURL), capability);
	driver.get("http://www.google.com");
Posted by: Guest on January-14-2021

Code answers related to "how to create remote webdriver"

Browse Popular Code Answers by Language