Skip to content

Commit d71d830

Browse files
author
dmitry.bogatko
committed
[#262] made CreateWebDriverInstance static
1 parent 369cfad commit d71d830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Aquality.Selenium/src/Aquality.Selenium/Browsers/LocalBrowserFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ private DriverContext GetDriverContext<T>(Func<DriverService> driverServiceProvi
107107
}
108108
}
109109

110-
private DriverContext CreateWebDriverInstance<T>(Func<DriverService> driverServiceProvider, DriverOptions driverOptions, TimeSpan commandTimeout) where T : WebDriver
110+
private static DriverContext CreateWebDriverInstance<T>(Func<DriverService> driverServiceProvider, DriverOptions driverOptions, TimeSpan commandTimeout) where T : WebDriver
111111
{
112112
var driverService = driverServiceProvider.Invoke();
113113
var driver = (T)Activator.CreateInstance(typeof(T), driverService, driverOptions, commandTimeout);

0 commit comments

Comments
 (0)