emre-gon_Sl_Selenium_Extensions_Drivers/Sl.Selenium.Firefox/FFSpiderBase.cs
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;

namespace Selenium.Extensions
{
    public abstract class FFSpiderBase : SpiderBase
    {
        protected FFSpiderBase(ILogger Logger, string BrowserProfile, bool Headless)
            : base(SlDriverBrowserType.Firefox, Logger, new List<string>() { BrowserProfile }, Headless)
        {

        }

        protected FFSpiderBase(ILogger Logger, IEnumerable<string> BrowserProfiles, bool Headless)
        : base(SlDriverBrowserType.Firefox, Logger, BrowserProfiles, Headless)
        {
        }


        protected override SlDriver Driver(string Profile)
        {
            return FirefoxDriver.Instance(Profile, this.Headless);
        }

    }
}
