NetCoreWebDriverFactory  3.0.0
Easy WebDriver generation for .NET Core
AlexanderOnTest.NetCoreWebDriverFactory.WebDriverFactory.DefaultLocalWebDriverFactory Class Reference

Default LocalWebDriverFactory implementation for .NET Core projects in Windows 10 versions 1809 and 1903. More...

Inheritance diagram for AlexanderOnTest.NetCoreWebDriverFactory.WebDriverFactory.DefaultLocalWebDriverFactory:
AlexanderOnTest.NetCoreWebDriverFactory.WebDriverFactory.LocalWebDriverFactoryBase AlexanderOnTest.NetCoreWebDriverFactory.WebDriverFactory.ILocalWebDriverFactory AlexanderOnTest.NetCoreWebDriverFactory.WebDriverFactory.FrameworkLocalWebDriverFactory AlexanderOnTest.NetCoreWebDriverFactory.WebDriverFactory.Windows1803LocalWebDriverFactory

Public Member Functions

 DefaultLocalWebDriverFactory (IDriverOptionsFactory driverOptionsFactory, string installedDriverPath, IWebDriverReSizer webDriverReSizer)
 Return a DriverFactory instance for use in .NET Core projects. Try using installedDriverPath = "Path.GetDirectoryName(Assembly.GetCallingAssembly().Location)" when running from .NET core projects. More...
 
 DefaultLocalWebDriverFactory? (IDriverOptionsFactory driverOptionsFactory, DriverPath driverPath, IWebDriverReSizer webDriverReSizer)
 Return a DriverFactory instance for use in .NET Core projects. Try using driverPath = new DriverPath(Assembly.GetCallingAssembly()) when testing locally from .NET core projects. More...
 
- Public Member Functions inherited from AlexanderOnTest.NetCoreWebDriverFactory.WebDriverFactory.LocalWebDriverFactoryBase
virtual IWebDriver GetWebDriver (Browser browser, WindowSize windowSize=WindowSize.Hd, bool headless=false, Size windowCustomSize=new Size())
 Return a local WebDriver of the given browser type with default settings. More...
 
IWebDriver GetWebDriver (IWebDriverConfiguration configuration)
 Return a local WebDriver instance of the given configuration. More...
 
virtual IWebDriver GetWebDriver (ChromeOptions options, WindowSize windowSize=WindowSize.Hd, Size windowCustomSize=new Size())
 Return a Local Chrome WebDriver instance. Try using driverPath = "Path.GetDirectoryName(Assembly.GetCallingAssembly().Location)" More...
 
virtual IWebDriver GetWebDriver (FirefoxOptions options, WindowSize windowSize=WindowSize.Hd, Size windowCustomSize=new Size())
 Return a local Firefox WebDriver instance. Try using driverPath = "Path.GetDirectoryName(Assembly.GetCallingAssembly().Location)" More...
 
virtual IWebDriver GetWebDriver (EdgeOptions options, WindowSize windowSize=WindowSize.Hd, Size windowCustomSize=new Size())
 Return a local Edge WebDriver instance. (Only supported on Microsoft Windows 10 version 1809 or later) More...
 
virtual IWebDriver GetWebDriver (InternetExplorerOptions options, WindowSize windowSize=WindowSize.Hd, Size windowCustomSize=new Size())
 Return a local Internet Explorer WebDriver instance. (Only supported on Microsoft Windows) More...
 
virtual IWebDriver GetWebDriver (SafariOptions options, WindowSize windowSize=WindowSize.Hd, Size windowCustomSize=new Size())
 Return a local Safari WebDriver instance. (Only supported on Mac Os) More...
 
void Dispose ()
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More...
 

Additional Inherited Members

- Protected Member Functions inherited from AlexanderOnTest.NetCoreWebDriverFactory.WebDriverFactory.LocalWebDriverFactoryBase
 LocalWebDriverFactoryBase (IDriverOptionsFactory driverOptionsFactory, string installedDriverPath, IWebDriverReSizer webDriverReSizer, bool useInternalEdgeDriver=false)
 Return a DriverFactory instance for use in .NET Core projects. Try using installedDriverPath = "Path.GetDirectoryName(Assembly.GetCallingAssembly().Location)" when running from .NET core projects. More...
 
 LocalWebDriverFactoryBase? (IDriverOptionsFactory driverOptionsFactory, DriverPath driverPath, IWebDriverReSizer webDriverReSizer, bool useInternalEdgeDriver=false)
 Return a DriverFactory instance for use in .NET Core projects. Try using driverPath = new DriverPath(Assembly.GetCallingAssembly()) when testing locally from .NET core projects. More...
 
virtual void Dispose (bool disposing)
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More...
 
IWebDriver GetLocalWebDriver (ChromeOptions options, string driverPath=null, WindowSize windowSize=WindowSize.Hd, Size windowCustomSize=new Size())
 Return a Local Chrome WebDriver instance. Try using driverPath = "Path.GetDirectoryName(Assembly.GetCallingAssembly().Location)" More...
 
IWebDriver GetLocalWebDriver (FirefoxOptions options, string driverPath=null, WindowSize windowSize=WindowSize.Hd, Size windowCustomSize=new Size())
 Return a local Firefox WebDriver instance. Try using driverPath = "Path.GetDirectoryName(Assembly.GetCallingAssembly().Location)" More...
 
IWebDriver GetLocalWebDriver (EdgeOptions options, string driverPath=null, WindowSize windowSize=WindowSize.Hd, Size windowCustomSize=new Size())
 Return a local Edge WebDriver instance. (Only supported on Microsoft Windows 10) Try using driverPath = null (default) for Windows 10 version 1809 and later. Try using driverPath = "Path.GetDirectoryName(Assembly.GetCallingAssembly().Location)" for Windows 10 version 1803 and earlier. More...
 
IWebDriver GetLocalWebDriver (InternetExplorerOptions options, string driverPath=null, WindowSize windowSize=WindowSize.Hd, Size windowCustomSize=new Size())
 Return a local Internet Explorer WebDriver instance. (Only supported on Microsoft Windows) Try using driverPath = "Path.GetDirectoryName(Assembly.GetCallingAssembly().Location)" More...
 
IWebDriver GetLocalWebDriver (SafariOptions options, string driverPath=null, WindowSize windowSize=WindowSize.Hd, Size windowCustomSize=new Size())
 Return a local Safari WebDriver instance. (Only supported on Mac Os) Try using driverPath = null (default) More...
 
- Properties inherited from AlexanderOnTest.NetCoreWebDriverFactory.WebDriverFactory.LocalWebDriverFactoryBase
string InstalledDriverPath [get]
 The path of installed drivers. More...
 
IWebDriverReSizer WebDriverReSizer [get]
 The IWebDriverReSizer implementation to use. More...
 
IDriverOptionsFactory DriverOptionsFactory [get, set]
 The DriverOptionsFactory to use. More...
 

Detailed Description

Default LocalWebDriverFactory implementation for .NET Core projects in Windows 10 versions 1809 and 1903.

Constructor & Destructor Documentation

◆ DefaultLocalWebDriverFactory()

AlexanderOnTest.NetCoreWebDriverFactory.WebDriverFactory.DefaultLocalWebDriverFactory.DefaultLocalWebDriverFactory ( IDriverOptionsFactory  driverOptionsFactory,
string  installedDriverPath,
IWebDriverReSizer  webDriverReSizer 
)

Return a DriverFactory instance for use in .NET Core projects. Try using installedDriverPath = "Path.GetDirectoryName(Assembly.GetCallingAssembly().Location)" when running from .NET core projects.

Parameters
installedDriverPath
driverOptionsFactory
webDriverReSizer

Member Function Documentation

◆ DefaultLocalWebDriverFactory?()

Return a DriverFactory instance for use in .NET Core projects. Try using driverPath = new DriverPath(Assembly.GetCallingAssembly()) when testing locally from .NET core projects.

Parameters
driverPath
driverOptionsFactory
webDriverReSizer

The documentation for this class was generated from the following file: