OpenQA.Selenium.Chrome.ChromeDriverService.ChromeDriverService C# (CSharp) Method

ChromeDriverService() private method

Initializes a new instance of the ChromeDriverService class.
private ChromeDriverService ( string executable, int port ) : System
executable string The full path to the ChromeDriver executable.
port int The port on which the ChromeDriver executable should listen.
return System
        private ChromeDriverService(string executable, int port)
        {
            this.driverServicePath = executable;
            this.driverServicePort = port;
            this.serviceUrl = new Uri(string.Format(CultureInfo.InvariantCulture, "http://localhost:{0}", port));
        }