| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta charset="utf-8"> |
| <title>Class ChromiumDriverService </title> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <meta name="title" content="Class ChromiumDriverService "> |
| |
| <meta name="description" content="Exposes the service provided by the native ChromiumDriver executable."> |
| <link rel="icon" href="../images/favicon.ico"> |
| <link rel="stylesheet" href="../public/docfx.min.css"> |
| <link rel="stylesheet" href="../public/main.css"> |
| <meta name="docfx:navrel" content="../toc.html"> |
| <meta name="docfx:tocrel" content="toc.html"> |
| |
| <meta name="docfx:rel" content="../"> |
| |
| |
| <meta name="docfx:docurl" content="https://github.com/SeleniumHQ/selenium/new/trunk/apiSpec/new?filename=OpenQA_Selenium_Chromium_ChromiumDriverService.md&value=---%0Auid%3A%20OpenQA.Selenium.Chromium.ChromiumDriverService%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A"> |
| <meta name="loc:inThisArticle" content="In this article"> |
| <meta name="loc:searchResultsCount" content="{count} results for "{query}""> |
| <meta name="loc:searchNoResults" content="No results for "{query}""> |
| <meta name="loc:tocFilter" content="Filter by title"> |
| <meta name="loc:nextArticle" content="Next"> |
| <meta name="loc:prevArticle" content="Previous"> |
| <meta name="loc:themeLight" content="Light"> |
| <meta name="loc:themeDark" content="Dark"> |
| <meta name="loc:themeAuto" content="Auto"> |
| <meta name="loc:changeTheme" content="Change theme"> |
| <meta name="loc:copy" content="Copy"> |
| <meta name="loc:downloadPdf" content="Download PDF"> |
| |
| <script type="module" src="./../public/docfx.min.js"></script> |
| |
| <script> |
| const theme = localStorage.getItem('theme') || 'auto' |
| document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) |
| </script> |
| |
| </head> |
| |
| <body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference"> |
| <header class="bg-body border-bottom"> |
| <nav id="autocollapse" class="navbar navbar-expand-md" role="navigation"> |
| <div class="container-xxl flex-nowrap"> |
| <a class="navbar-brand" href="../index.html"> |
| <img id="logo" class="svg" src="../images/logo.svg" alt="Selenium .NET API"> |
| Selenium .NET API |
| </a> |
| <button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation"> |
| <i class="bi bi-three-dots"></i> |
| </button> |
| <div class="collapse navbar-collapse" id="navpanel"> |
| <div id="navbar"> |
| <form class="search" role="search" id="search"> |
| <i class="bi bi-search"></i> |
| <input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search"> |
| </form> |
| </div> |
| </div> |
| </div> |
| </nav> |
| </header> |
| |
| <main class="container-xxl"> |
| <div class="toc-offcanvas"> |
| <div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel"> |
| <div class="offcanvas-header"> |
| <h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5> |
| <button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button> |
| </div> |
| <div class="offcanvas-body"> |
| <nav class="toc" id="toc"></nav> |
| </div> |
| </div> |
| </div> |
| |
| <div class="content"> |
| <div class="actionbar"> |
| <button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents"> |
| <i class="bi bi-list"></i> |
| </button> |
| |
| <nav id="breadcrumb"></nav> |
| </div> |
| |
| <article data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService"> |
| |
| |
| |
| <h1 id="OpenQA_Selenium_Chromium_ChromiumDriverService" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService" class="text-break"> |
| Class ChromiumDriverService <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs/#L29"><i class="bi bi-code-slash"></i></a> |
| </h1> |
| |
| <div class="facts text-secondary"> |
| <dl><dt>Namespace</dt><dd><a class="xref" href="OpenQA.html">OpenQA</a>.<a class="xref" href="OpenQA.Selenium.html">Selenium</a>.<a class="xref" href="OpenQA.Selenium.Chromium.html">Chromium</a></dd></dl> |
| <dl><dt>Assembly</dt><dd>WebDriver.dll</dd></dl> |
| </div> |
| |
| <div class="markdown summary"><p>Exposes the service provided by the native ChromiumDriver executable.</p> |
| </div> |
| <div class="markdown conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public abstract class ChromiumDriverService : DriverService, ICommandServer, IDisposable</code></pre> |
| </div> |
| |
| |
| |
| |
| <dl class="typelist inheritance"> |
| <dt>Inheritance</dt> |
| <dd> |
| <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div> |
| <div><a class="xref" href="OpenQA.Selenium.DriverService.html">DriverService</a></div> |
| <div><span class="xref">ChromiumDriverService</span></div> |
| </dd> |
| </dl> |
| |
| <dl class="typelist implements"> |
| <dt>Implements</dt> |
| <dd> |
| <div><a class="xref" href="OpenQA.Selenium.Remote.ICommandServer.html">ICommandServer</a></div> |
| <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div> |
| </dd> |
| </dl> |
| |
| <dl class="typelist derived"> |
| <dt>Derived</dt> |
| <dd> |
| <div><a class="xref" href="OpenQA.Selenium.Chrome.ChromeDriverService.html">ChromeDriverService</a></div> |
| <div><a class="xref" href="OpenQA.Selenium.Edge.EdgeDriverService.html">EdgeDriverService</a></div> |
| </dd> |
| </dl> |
| |
| <dl class="typelist inheritedMembers"> |
| <dt>Inherited Members</dt> |
| <dd> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_DriverProcessStarting">DriverService.DriverProcessStarting</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_DriverProcessStarted">DriverService.DriverProcessStarted</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_ServiceUrl">DriverService.ServiceUrl</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_HostName">DriverService.HostName</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_Port">DriverService.Port</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_SuppressInitialDiagnosticInformation">DriverService.SuppressInitialDiagnosticInformation</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_IsRunning">DriverService.IsRunning</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_HideCommandPromptWindow">DriverService.HideCommandPromptWindow</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_ProcessId">DriverService.ProcessId</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_InitializationTimeout">DriverService.InitializationTimeout</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_DriverServiceExecutableName">DriverService.DriverServiceExecutableName</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_DriverServicePath">DriverService.DriverServicePath</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_TerminationTimeout">DriverService.TerminationTimeout</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_HasShutdown">DriverService.HasShutdown</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_EnableProcessRedirection">DriverService.EnableProcessRedirection</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_IsInitialized">DriverService.IsInitialized</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_Dispose">DriverService.Dispose()</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_Start">DriverService.Start()</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_GetDefaultDriverOptions">DriverService.GetDefaultDriverOptions()</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_Dispose_System_Boolean_">DriverService.Dispose(bool)</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_OnDriverProcessStarting_OpenQA_Selenium_DriverProcessStartingEventArgs_">DriverService.OnDriverProcessStarting(DriverProcessStartingEventArgs)</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_OnDriverProcessStarted_OpenQA_Selenium_DriverProcessStartedEventArgs_">DriverService.OnDriverProcessStarted(DriverProcessStartedEventArgs)</a> |
| </div> |
| <div> |
| <a class="xref" href="OpenQA.Selenium.DriverService.html#OpenQA_Selenium_DriverService_OnDriverProcessDataReceived_System_Object_System_Diagnostics_DataReceivedEventArgs_">DriverService.OnDriverProcessDataReceived(object, DataReceivedEventArgs)</a> |
| </div> |
| <div> |
| <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a> |
| </div> |
| <div> |
| <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a> |
| </div> |
| <div> |
| <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a> |
| </div> |
| <div> |
| <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a> |
| </div> |
| <div> |
| <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a> |
| </div> |
| <div> |
| <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a> |
| </div> |
| <div> |
| <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a> |
| </div> |
| </dd></dl> |
| |
| |
| |
| |
| |
| |
| <h2 class="section" id="constructors">Constructors |
| </h2> |
| |
| |
| <a id="OpenQA_Selenium_Chromium_ChromiumDriverService__ctor_" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.#ctor*"></a> |
| |
| <h3 id="OpenQA_Selenium_Chromium_ChromiumDriverService__ctor_System_String_System_String_System_Int32_" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.#ctor(System.String,System.String,System.Int32)"> |
| ChromiumDriverService(string?, string?, int) |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs/#L39"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="OpenQA.Selenium.Chromium.ChromiumDriverService.html">ChromiumDriverService</a> class.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected ChromiumDriverService(string? executablePath, string? executableFileName, int port)</code></pre> |
| </div> |
| |
| <h4 class="section">Parameters</h4> |
| <dl class="parameters"> |
| <dt><code>executablePath</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt> |
| <dd><p>The full path to the ChromeDriver executable.</p> |
| </dd> |
| <dt><code>executableFileName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt> |
| <dd><p>The file name of the ChromeDriver executable.</p> |
| </dd> |
| <dt><code>port</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt> |
| <dd><p>The port on which the ChromeDriver executable should listen.</p> |
| </dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <h2 class="section" id="properties">Properties |
| </h2> |
| |
| |
| <a id="OpenQA_Selenium_Chromium_ChromiumDriverService_AllowedIPAddresses_" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.AllowedIPAddresses*"></a> |
| |
| <h3 id="OpenQA_Selenium_Chromium_ChromiumDriverService_AllowedIPAddresses" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.AllowedIPAddresses"> |
| AllowedIPAddresses |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs/#L96"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>Gets or sets the comma-delimited list of IP addresses that are approved to connect to this instance of the Chrome driver.</p> |
| <p>A value of <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> or <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string.empty">Empty</a> means only the local loopback address can connect.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public string? AllowedIPAddresses { get; set; }</code></pre> |
| </div> |
| |
| |
| |
| |
| |
| <h4 class="section">Property Value</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_Chromium_ChromiumDriverService_AndroidDebugBridgePort_" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.AndroidDebugBridgePort*"></a> |
| |
| <h3 id="OpenQA_Selenium_Chromium_ChromiumDriverService_AndroidDebugBridgePort" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.AndroidDebugBridgePort"> |
| AndroidDebugBridgePort |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs/#L66"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>Gets or sets the port on which the Android Debug Bridge is listening for commands.</p> |
| <p>A value less than or equal to 0, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>, indicates no Android Debug Bridge specified.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public int? AndroidDebugBridgePort { get; set; }</code></pre> |
| </div> |
| |
| |
| |
| |
| |
| <h4 class="section">Property Value</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_Chromium_ChromiumDriverService_CommandLineArguments_" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.CommandLineArguments*"></a> |
| |
| <h3 id="OpenQA_Selenium_Chromium_ChromiumDriverService_CommandLineArguments" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.CommandLineArguments"> |
| CommandLineArguments |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs/#L106"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>Gets the command-line arguments for the driver service.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected override string CommandLineArguments { get; }</code></pre> |
| </div> |
| |
| |
| |
| |
| |
| <h4 class="section">Property Value</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_Chromium_ChromiumDriverService_DisableBuildCheck_" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.DisableBuildCheck*"></a> |
| |
| <h3 id="OpenQA_Selenium_Chromium_ChromiumDriverService_DisableBuildCheck" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.DisableBuildCheck"> |
| DisableBuildCheck |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs/#L73"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>Gets or sets a value indicating whether to skip version compatibility check |
| between the driver and the browser. |
| Defaults to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public bool DisableBuildCheck { get; set; }</code></pre> |
| </div> |
| |
| |
| |
| |
| |
| <h4 class="section">Property Value</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_Chromium_ChromiumDriverService_EnableAppendLog_" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.EnableAppendLog*"></a> |
| |
| <h3 id="OpenQA_Selenium_Chromium_ChromiumDriverService_EnableAppendLog" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.EnableAppendLog"> |
| EnableAppendLog |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs/#L85"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>Gets or sets a value indicating whether to enable appending to an existing ChromeDriver log file. |
| Defaults to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public bool EnableAppendLog { get; set; }</code></pre> |
| </div> |
| |
| |
| |
| |
| |
| <h4 class="section">Property Value</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_Chromium_ChromiumDriverService_EnableVerboseLogging_" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.EnableVerboseLogging*"></a> |
| |
| <h3 id="OpenQA_Selenium_Chromium_ChromiumDriverService_EnableVerboseLogging" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.EnableVerboseLogging"> |
| EnableVerboseLogging |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs/#L79"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>Gets or sets a value indicating whether to enable verbose logging for the ChromeDriver executable. |
| Defaults to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public bool EnableVerboseLogging { get; set; }</code></pre> |
| </div> |
| |
| |
| |
| |
| |
| <h4 class="section">Property Value</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_Chromium_ChromiumDriverService_LogLevel_" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.LogLevel*"></a> |
| |
| <h3 id="OpenQA_Selenium_Chromium_ChromiumDriverService_LogLevel" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.LogLevel"> |
| LogLevel |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs/#L90"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>Gets or sets the level at which log output is displayed.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public ChromiumDriverLogLevel LogLevel { get; set; }</code></pre> |
| </div> |
| |
| |
| |
| |
| |
| <h4 class="section">Property Value</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="OpenQA.Selenium.Chromium.ChromiumDriverLogLevel.html">ChromiumDriverLogLevel</a></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_Chromium_ChromiumDriverService_LogPath_" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.LogPath*"></a> |
| |
| <h3 id="OpenQA_Selenium_Chromium_ChromiumDriverService_LogPath" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.LogPath"> |
| LogPath |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs/#L48"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>Gets or sets the location of the log file written to by the ChromeDriver executable.</p> |
| <p> |
| <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> or <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string.empty">Empty</a> signify no log path.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public string? LogPath { get; set; }</code></pre> |
| </div> |
| |
| |
| |
| |
| |
| <h4 class="section">Property Value</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_Chromium_ChromiumDriverService_PortServerAddress_" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.PortServerAddress*"></a> |
| |
| <h3 id="OpenQA_Selenium_Chromium_ChromiumDriverService_PortServerAddress" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.PortServerAddress"> |
| PortServerAddress |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs/#L60"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>Gets or sets the address of a server to contact for reserving a port.</p> |
| <p> |
| <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> or <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string.empty">Empty</a> signify no port server.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public string? PortServerAddress { get; set; }</code></pre> |
| </div> |
| |
| |
| |
| |
| |
| <h4 class="section">Property Value</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_Chromium_ChromiumDriverService_ReadableTimestamp_" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.ReadableTimestamp*"></a> |
| |
| <h3 id="OpenQA_Selenium_Chromium_ChromiumDriverService_ReadableTimestamp" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.ReadableTimestamp"> |
| ReadableTimestamp |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs/#L101"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>Adds readable timestamps to log</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public bool ReadableTimestamp { get; set; }</code></pre> |
| </div> |
| |
| |
| |
| |
| |
| <h4 class="section">Property Value</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_Chromium_ChromiumDriverService_UrlPathPrefix_" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.UrlPathPrefix*"></a> |
| |
| <h3 id="OpenQA_Selenium_Chromium_ChromiumDriverService_UrlPathPrefix" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.UrlPathPrefix"> |
| UrlPathPrefix |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs/#L54"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>Gets or sets the base URL path prefix for commands (e.g., "wd/url").</p> |
| <p> |
| <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> or <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string.empty">Empty</a> signify no prefix.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public string? UrlPathPrefix { get; set; }</code></pre> |
| </div> |
| |
| |
| |
| |
| |
| <h4 class="section">Property Value</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| <h2 class="section" id="methods">Methods |
| </h2> |
| |
| |
| <a id="OpenQA_Selenium_Chromium_ChromiumDriverService_ChromiumDriverServiceFileName_" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.ChromiumDriverServiceFileName*"></a> |
| |
| <h3 id="OpenQA_Selenium_Chromium_ChromiumDriverService_ChromiumDriverServiceFileName_System_String_" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.ChromiumDriverServiceFileName(System.String)"> |
| ChromiumDriverServiceFileName(string) |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs/#L178"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>Returns the Chromium driver filename for the currently running platform</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected static string ChromiumDriverServiceFileName(string fileName = "chromedriver")</code></pre> |
| </div> |
| |
| <h4 class="section">Parameters</h4> |
| <dl class="parameters"> |
| <dt><code>fileName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt> |
| <dd><p>The name of the Chromium executable. Default is "chromedriver".</p> |
| </dd> |
| </dl> |
| |
| <h4 class="section">Returns</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt> |
| <dd><p>The file name of the Chromium driver service executable.</p> |
| </dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| </article> |
| |
| <div class="contribution d-print-none"> |
| <a href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs/#L29" class="edit-link">Edit this page</a> |
| </div> |
| |
| |
| </div> |
| |
| <div class="affix"> |
| <nav id="affix"></nav> |
| </div> |
| </main> |
| |
| <div class="container-xxl search-results" id="search-results"></div> |
| |
| <footer class="border-top text-secondary"> |
| <div class="container-xxl"> |
| <div class="flex-fill"> |
| <span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span> |
| </div> |
| </div> |
| </footer> |
| </body> |
| </html> |