public static IE_UnitTest open_ASync(this IE_UnitTest tbot, string virtualPath) { O2Thread.mtaThread(() => tbot.open_Page(virtualPath)); return(tbot); }
public static IE_UnitTest open_Page(this IE_UnitTest tbot, string virtualPath) { tbot.ie.open(tbot.fullPath(virtualPath)); return(tbot); }
public static string fullPath(this IE_UnitTest tbot, string virtualPath) { return(tbot.TargetServer.uri().append(virtualPath).str()); }
public static IE_UnitTest open(this IE_UnitTest ieUnitTest, string virtualPath) // can't use generics here in order to have simpler method calls: tbot.open("...."); vs tbot.open<API_IE_TBot>("..."); { return(ieUnitTest.open_Page(virtualPath)); }