예제 #1
0
        public void TableOfElementE()
        {
            ExecuteTestWithAnyBrowser(browser =>
            {
                // Invoke with anonymous delegate
                Element table = browser.Table("table1");
                table.WaitUntil((Table table1) => table1.Enabled);

                // Invoke with lambda
                ElementContainer <Table> table2 = browser.Table("table1");
                table2.WaitUntil(t => t.Enabled);

                // Invoke with delegate method
                var table3 = browser.Table("table1");
                table3.WaitUntil(table4 => table4.Enabled);
            });
        }
예제 #2
0
        public void TableOfElementE()
        {
            // Invoke with anonymous delegate
            Element table = Ie.Table("table1");

            table.WaitUntil((Table table1) => table1.Enabled);

            // Invoke with lambda
            ElementContainer <Table> table2 = Ie.Table("table1");

            table2.WaitUntil(t => t.Enabled);

            // Invoke with delegate method
            var table3 = Ie.Table("table1");

            table3.WaitUntil(IsEnabled);
        }