diff --git a/Aquality.Selenium/src/Aquality.Selenium/Browsers/LocalBrowserFactory.cs b/Aquality.Selenium/src/Aquality.Selenium/Browsers/LocalBrowserFactory.cs index fe29db1..801b3ea 100644 --- a/Aquality.Selenium/src/Aquality.Selenium/Browsers/LocalBrowserFactory.cs +++ b/Aquality.Selenium/src/Aquality.Selenium/Browsers/LocalBrowserFactory.cs @@ -107,7 +107,7 @@ private DriverContext GetDriverContext(Func driverServiceProvi } } - private DriverContext CreateWebDriverInstance(Func driverServiceProvider, DriverOptions driverOptions, TimeSpan commandTimeout) where T : WebDriver + private static DriverContext CreateWebDriverInstance(Func driverServiceProvider, DriverOptions driverOptions, TimeSpan commandTimeout) where T : WebDriver { var driverService = driverServiceProvider.Invoke(); var driver = (T)Activator.CreateInstance(typeof(T), driverService, driverOptions, commandTimeout);