Is it possible to start the selenium server with a different port from my code, as we do
seleniumserver s = new seleniumserver (); s.start ()
and set the port
Try the following:
RemoteControlConfiguration conf = new RemoteControlConfiguration(); conf.setPort(1234); SeleniumServer ss = new SeleniumServer(false, conf);
In fact, there is a constructor that accepts a port number
SeleniumServer server = new SeleniumServer(1234); server.start();
Source: https://habr.com/ru/post/1757077/More articles:Programming language and O / S for a kiosk-based system - linuxAndroid platform - The screen will not move up to the bottom of the EditText entry - androidJquery slider display screen on slider - jqueryVisual Studio 2005 creates lowercase output directories - build-processHow many records can be uploaded to Salesforce using the Apex Data Loader at a time? - csvrails: remove underscore on behalf of the controller - ruby-on-railsPractical use cases for returning javascript from an XHR / Ajax request? - javascripthow to manually parse iics file in java? - javaHow to disable browser print options for certain pages - jqueryMercury's ADT Properties - logicAll Articles