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