Quote:Chrome 63-65 works with chromedriver 2.36 Chrome 62-64 works with chromedriver 2.35 Chrome 61-63 works with chromedriver 2.34 Chrome 60-62 works with chromedriver 2.33 Chrome > 57, use chromedriver 2.28 Chrome > 54, use chromedriver 2.25 Chrome = 53, use chromedriver 2.24 Chrome > 49, use chromedriver 2.22 Chrome > 43, use chromedriver 2.20 Chrome > 41, use chromedriver 2.15 older versions, use chromedriver 2.10
private void inicializeChrome() { ChromeOptions chromeOptions = new ChromeOptions(); chromeOptions.AddArgument("--silent"); //chromeOptions.AddArgument("--log-level=3"); //chromeOptions.AddArguments("--disable-extensions"); //chromeOptions.AddArgument("test-type"); chromeOptions.AddArgument("--ignore-certificate-errors"); chromeOptions.AddArgument("no-sandbox"); //chromeOptions.AddArgument("--headless");//hide browser ChromeDriverService chromeService = ChromeDriverService.CreateDefaultService(); chromeService.SuppressInitialDiagnosticInformation = true; chromeService.HideCommandPromptWindow = true; driver = new ChromeDriver(chromeService, chromeOptions); ICapabilities capabilities = ((RemoteWebDriver)driver).Capabilities; driver.Manage().Window.Maximize(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)