protected void OnDriverLaunching(DriverService service, DriverOptions options) { if (this.DriverStarting != null) { DriverStartingEventArgs args = new DriverStartingEventArgs(service, options); this.DriverStarting(this, args); } }
private void OnDriverStarting(object sender, DriverStartingEventArgs e) { Console.WriteLine(e.Service.HostName); }