private IWebDriver CreateWebDriver(string browserTarget)
        {
            switch (browserTarget)
            {
            case BrowserTarget.Chrome:
                return(factory.CreateLocalChromeDriver());

            case BrowserTarget.Edge:
                return(factory.CreateLocalEdgeDriver());

            case BrowserTarget.Firefox:
                return(factory.CreateLocalFirefoxDriver());

            case BrowserTarget.IE:
                return(factory.CreateLocalIEDriver());

            default:
                throw new NotSupportedException($"{browserTarget} is not supported local browser type.");
            }
        }