Example #1
0
        public void ConfiguratorTest()
        {
            _driver.ConfiguratorSetActionAcknowledgmentTimeout(500);
            _driver.ConfiguratorSetKeyInjectionDelay(400);
            _driver.ConfiguratorSetScrollAcknowledgmentTimeout(300);
            _driver.ConfiguratorSetWaitForIdleTimeout(600);
            _driver.ConfiguratorSetWaitForSelectorTimeout(1000);

            var settings = _driver.Settings;

            Assert.AreEqual(settings[AutomatorSetting.KeyInjectionDelay], 400);
            Assert.AreEqual(settings[AutomatorSetting.WaitActionAcknowledgmentTimeout], 500);
            Assert.AreEqual(settings[AutomatorSetting.WaitForIDLETimeout], 600);
            Assert.AreEqual(settings[AutomatorSetting.WaitForSelectorTimeout], 1000);
            Assert.AreEqual(settings[AutomatorSetting.WaitScrollAcknowledgmentTimeout], 300);
        }