DriverServiceProcessId Property WebDriver
Gets the process ID of the running driver service executable. Returns 0 if the process is not running.

Namespace: OpenQA.Selenium
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax

public int ProcessId { get; }

Property Value

Type: Int32
See Also

Reference