@@ -125,7 +125,7 @@ public ChromeDriver(string chromeDriverDirectory, ChromeOptions options)
125125 /// <param name="options">The <see cref="ChromeOptions"/> to be used with the Chrome driver.</param>
126126 /// <param name="commandTimeout">The maximum amount of time to wait for each command.</param>
127127 public ChromeDriver ( string chromeDriverDirectory , ChromeOptions options , TimeSpan commandTimeout )
128- : this ( ChromeDriverService . CreateDefaultService ( chromeDriverDirectory ) , options , commandTimeout , disposeService : true )
128+ : this ( ChromeDriverService . CreateDefaultService ( chromeDriverDirectory ) , options , commandTimeout )
129129 {
130130 }
131131
@@ -136,12 +136,7 @@ public ChromeDriver(string chromeDriverDirectory, ChromeOptions options, TimeSpa
136136 /// <param name="service">The <see cref="ChromeDriverService"/> to use.</param>
137137 /// <param name="options">The <see cref="ChromeOptions"/> used to initialize the driver.</param>
138138 public ChromeDriver ( ChromeDriverService service , ChromeOptions options )
139- : this ( service , options , RemoteWebDriver . DefaultCommandTimeout , disposeService : true )
140- {
141- }
142-
143- public ChromeDriver ( ChromeDriverService service , ChromeOptions options , bool disposeService )
144- : this ( service , options , RemoteWebDriver . DefaultCommandTimeout , disposeService )
139+ : this ( service , options , RemoteWebDriver . DefaultCommandTimeout )
145140 {
146141 }
147142
@@ -152,13 +147,7 @@ public ChromeDriver(ChromeDriverService service, ChromeOptions options, bool dis
152147 /// <param name="options">The <see cref="ChromeOptions"/> to be used with the Chrome driver.</param>
153148 /// <param name="commandTimeout">The maximum amount of time to wait for each command.</param>
154149 public ChromeDriver ( ChromeDriverService service , ChromeOptions options , TimeSpan commandTimeout )
155- : base ( service , options , commandTimeout , disposeService : true )
156- {
157- this . AddCustomChromeCommands ( ) ;
158- }
159-
160- public ChromeDriver ( ChromeDriverService service , ChromeOptions options , TimeSpan commandTimeout , bool disposeService )
161- : base ( service , options , commandTimeout , disposeService )
150+ : base ( service , options , commandTimeout )
162151 {
163152 this . AddCustomChromeCommands ( ) ;
164153 }
0 commit comments