can i start a selenium server with different port
can i start a selenium server with different port from my code like we do
seleniumserver s= new seleniumserve开发者_如何学JAVAr(); s.start()
and set port??
Actually there's a constructor that accept a port number
SeleniumServer server = new SeleniumServer(1234);
server.start();
Try this:
RemoteControlConfiguration conf = new RemoteControlConfiguration();
conf.setPort(1234);
SeleniumServer ss = new SeleniumServer(false, conf);
精彩评论