/// <summary> /// Sets the BatchID to the first 10 characters of a guid. /// </summary> public static void ClassInitialize(SeleniumPool pool, LogRepoOptions repoOptions) { RepoOptions = repoOptions; SeleniumPoolInst = pool; canDisposeOfPool = false; BatchID = Guid.NewGuid().ToString("n").Substring(0, 10); }
/// <summary> /// Sets the BatchID to the first 10 characters of a guid. /// </summary> public static void ClassInitialize(SeleniumPoolOptions poolOptions, LogRepoOptions repoOptions) { RepoOptions = repoOptions; SeleniumPoolInst = SeleniumPoolFactory.GetPool(poolOptions); canDisposeOfPool = true; BatchID = Guid.NewGuid().ToString("n").Substring(0, 10); }