public void SetUp() { driver = new FakeDriver(); spyRobustWrapper = new SpyRobustWrapper(); fakeWaiter = new FakeWaiter(); stubUrlBuilder = new StubUrlBuilder(); session = TestSessionBuilder.Build(driver, spyRobustWrapper, fakeWaiter, new SpyRestrictedResourceDownloader(), stubUrlBuilder); }
public void SetUp() { stubUrlBuilder = new StubUrlBuilder(); _stubRestrictedResourceDownloader = new SpyRestrictedResourceDownloader(); driver = new FakeDriver(); configuration = new Configuration(); browserSession = TestSessionBuilder.Build(configuration, driver, new SpyRobustWrapper(), new FakeWaiter(), _stubRestrictedResourceDownloader, stubUrlBuilder); }
public void SetUp() { stubUrlBuilder = new StubUrlBuilder(); _stubRestrictedResourceDownloader = new SpyRestrictedResourceDownloader(); driver = new FakeDriver(); SessionConfiguration = new SessionConfiguration(); browserSession = TestSessionBuilder.Build(SessionConfiguration, driver, new SpyTimingStrategy(), new FakeWaiter(), _stubRestrictedResourceDownloader, stubUrlBuilder); }
public void SetUp() { driver = new FakeDriver(); spyRobustWrapper = new SpyRobustWrapper(); fakeWaiter = new FakeWaiter(); stubUrlBuilder = new StubUrlBuilder(); sessionConfiguration = new SessionConfiguration(); browserSession = TestSessionBuilder.Build(sessionConfiguration, driver, spyRobustWrapper, fakeWaiter, new SpyRestrictedResourceDownloader(), stubUrlBuilder); elementScope = browserSession.FindXPath("."); }
public void SetUp() { driver = new FakeDriver(); SpyTimingStrategy = new SpyTimingStrategy(); fakeWaiter = new FakeWaiter(); stubUrlBuilder = new StubUrlBuilder(); sessionConfiguration = new SessionConfiguration(); browserSession = TestSessionBuilder.Build(sessionConfiguration, driver, SpyTimingStrategy, fakeWaiter, new SpyRestrictedResourceDownloader(), stubUrlBuilder); elementScope = browserSession.FindXPath("."); popupScope = browserSession.FindWindow("popup"); }
private static void StubResourceUrl(string virtualPath, string fullyQualifiedPath, StubUrlBuilder stubUrlBuilder) { stubUrlBuilder.SetStubUrl(virtualPath, fullyQualifiedPath); }