can i start a selenium server with different port from my code like we do
seleniumserver s= new seleniumserver(); s.start()
and set port??
can i start a selenium server with different port from my code like we do
seleniumserver s= new seleniumserver(); s.start()
and set port??
Try this:
RemoteControlConfiguration conf = new RemoteControlConfiguration();
conf.setPort(1234);
SeleniumServer ss = new SeleniumServer(false, conf);
Actually there's a constructor that accept a port number
SeleniumServer server = new SeleniumServer(1234);
server.start();