protected DriverAtataContextBuilder( AtataBuildingContext buildingContext, string alias, string browserName) : base(buildingContext, alias) { _browserName = browserName; }
/// <summary> /// Creates a copy of the current instance. /// </summary> /// <returns>The copied <see cref="AtataBuildingContext"/> instance.</returns> public AtataBuildingContext Clone() { AtataBuildingContext copy = (AtataBuildingContext)MemberwiseClone(); copy.DriverFactories = DriverFactories.ToList(); copy.LogConsumers = LogConsumers.ToList(); copy.ScreenshotConsumers = ScreenshotConsumers.ToList(); copy.CleanUpActions = CleanUpActions.ToList(); return(copy); }
protected DriverAtataContextBuilder(AtataBuildingContext buildingContext, string alias) : base(buildingContext) { Alias = alias; }
protected AttributesAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext) { }
protected DriverAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext) { BuildingContext.DriverCreator = CreateDriver; }
/// <summary> /// Clears the <see cref="BuildingContext"/>. /// </summary> /// <returns>The <see cref="AtataContextBuilder"/> instance.</returns> public AtataContextBuilder Clear() { BuildingContext = new AtataBuildingContext(); return(this); }
internal PhantomJSAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext) { }
internal AtataContextBuilder(AtataBuildingContext buildingContext) { BuildingContext = buildingContext; }
internal FirefoxAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext) { }
/// <summary> /// Initializes a new instance of the <see cref="EventSubscriptionsAtataContextBuilder"/> class. /// </summary> /// <param name="buildingContext">The building context.</param> public EventSubscriptionsAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext) { }
internal ChromeAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext) { BuildingContext = buildingContext; BuildingContext.DriverCreator = CreateDriver; }
public SafariAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext, DriverAliases.Safari, "Safari") { }
public CustomDriverAtataContextBuilder(AtataBuildingContext buildingContext, Func <RemoteWebDriver> driverFactory) : base(buildingContext) { _driverFactory = driverFactory.CheckNotNull(nameof(driverFactory)); }
internal InternetExplorerAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext) { BuildingContext = buildingContext; BuildingContext.DriverCreator = CreateDriver; }
public InternetExplorerAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext) { }
public OperaAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext) { }
internal SafariAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext) { }
public EdgeAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext, DriverAliases.Edge, "Edge") { }
public PhantomJSAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext) { }
public FirefoxAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext, DriverAliases.Firefox) { }
public AtataContextBuilder(AtataBuildingContext buildingContext) { BuildingContext = buildingContext.CheckNotNull(nameof(buildingContext)); }
/// <summary> /// Initializes a new instance of the <see cref="GlobalAttributesAtataContextBuilder"/> class. /// </summary> /// <param name="buildingContext">The building context.</param> public GlobalAttributesAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext) { }
internal EdgeAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext) { }
/// <summary> /// Initializes a new instance of the <see cref="AssemblyAttributesAtataContextBuilder"/> class. /// </summary> /// <param name="assembly">The assembly.</param> /// <param name="buildingContext">The building context.</param> public AssemblyAttributesAtataContextBuilder(Assembly assembly, AtataBuildingContext buildingContext) : base(buildingContext) { _assembly = assembly; }
public InternetExplorerAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext, DriverAliases.InternetExplorer, "Internet Explorer") { }
public AtataContextBuilder(TContext context, AtataBuildingContext buildingContext) : base(buildingContext) { Context = context; }
/// <summary> /// Initializes a new instance of the <see cref="PropertyAttributesAtataContextBuilder{TNextBuilder}"/> class. /// </summary> /// <param name="type">The type.</param> /// <param name="propertyName">Name of the property.</param> /// <param name="parentBuilder">The parent builder.</param> /// <param name="buildingContext">The building context.</param> public PropertyAttributesAtataContextBuilder(Type type, string propertyName, TNextBuilder parentBuilder, AtataBuildingContext buildingContext) : base(buildingContext) { _typeProperty = new TypePropertyNamePair(type, propertyName); _parentBuilder = parentBuilder; }
public ChromeAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext, DriverAliases.Chrome, "Chrome") { }
[Obsolete("Use other constructor with 3 arguments.")] // Obsolete since v1.10.0. protected DriverAtataContextBuilder( AtataBuildingContext buildingContext, string alias) : this(buildingContext, alias, null) { }
public RemoteDriverAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext, DriverAliases.Remote) { }
internal SafariAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext) { BuildingContext = buildingContext; BuildingContext.DriverCreator = CreateDriver; }
internal PhantomJSAtataContextBuilder(AtataBuildingContext buildingContext) : base(buildingContext) { BuildingContext = buildingContext; BuildingContext.DriverCreator = CreateDriver; }