示例#1
0
        public void TestGetNativePage()
        {
            var nativePage = new NativePage();
            var page = new SeleniumPage(nativePage);

            var result = page.GetNativePage<NativePage>();
            Assert.AreSame(nativePage, result);
        }
示例#2
0
        public void TestGetNativePage()
        {
            var nativePage = new NativePage();
            var page       = new SeleniumPage(nativePage, null);

            var result = page.GetNativePage <NativePage>();

            Assert.AreSame(nativePage, result);
        }