Hi Experts,
I am very much new to Selenium using javascript. I need to set up a grid and execute the test in multiple browsers. as a start, I am able to setup Hub and Node. I am trying to write sample script to invoke a browser on remote machine but i am not able to understand how things work in selenium with Js.
What is java RemoteServer equivalent in javascript and how to use it.
here is my code.
var webdriver = require('selenium-webdriver');
var driver = new webdriver.Builder()
.forBrowser('firefox')
.usingServer('Localhost:5820')
.withCapabilities(webdriver.Capabilities.firefox())
.build();
driver.quit();
then how can i trigger the test on a Node using Hub. Please explain step by Step.
Many Thanks