OpenQA.Selenium.Chrome.ChromeBinary.Start C# (CSharp) Method

Start() public method

Starts the Chrome process for WebDriver. Assumes the passed directories exist.
When it can't launch will throw an error
public Start ( string serverUrl ) : void
serverUrl string URL from which commands should be requested
return void
        public void Start(string serverUrl)
        {
            try
            {
                chromeProcess = Process.Start(new ProcessStartInfo(GetChromeFile(), String.Concat(Arguments, serverUrl)) { UseShellExecute = false });
            }
            catch (IOException e)
            { // TODO(AndreNogueira): Check exception type thrown when process.start fails
                throw new WebDriverException("Could not start Chrome process", e);
            }

            Thread.Sleep(StartWaitInterval * linearStartWaitCoefficient);
        }