Table of Contents

Class ActivatorDriverOptionsFactory

Namespace
CSF.Extensions.WebDriver.Factories
Assembly
CSF.Extensions.WebDriver.dll

Implementation of ICreatesDriverOptions which uses CreateInstance(Type) to create the options object.

public class ActivatorDriverOptionsFactory : ICreatesDriverOptions
Inheritance
ActivatorDriverOptionsFactory
Implements
Inherited Members

Methods

CreateOptions(Type, IConfigurationSection)

Creates and returns a new driver options instance.

public DriverOptions CreateOptions(Type optionsType, IConfigurationSection config)

Parameters

optionsType Type

The desired type of the options object

config IConfigurationSection

The CSF.Extensions.WebDriver configuration

Returns

DriverOptions

A new driver options instance