コード例 #1
0
        public GMailTestsFixture()
        {
            ChromeOptions options = new ChromeOptions();

            options.AcceptInsecureCertificates = true;
            options.AddArgument("--enable-automation");

            BrowserDriver = new ChromeDriver("./", options);
            Wait          = new WebDriverWait(BrowserDriver, TimeSpan.FromSeconds(20));

            Config = new ConfigurationBuilder()
                     .AddJsonFile("config.json")
                     .Build();

            UniqueText = ProcessUtils.GenerateRandomText(8);
        }