예제 #1
0
 public void SetUp()
 {
     driver = new FakeDriver();
     spyRobustWrapper = new SpyRobustWrapper();
     fakeWaiter = new FakeWaiter();
     stubUrlBuilder = new StubUrlBuilder();
     session = TestSessionBuilder.Build(driver, spyRobustWrapper, fakeWaiter, new SpyRestrictedResourceDownloader(),
                                        stubUrlBuilder);
 }
예제 #2
0
 public void SetUp()
 {
     driver           = new FakeDriver();
     spyRobustWrapper = new SpyRobustWrapper();
     fakeWaiter       = new FakeWaiter();
     stubUrlBuilder   = new StubUrlBuilder();
     session          = TestSessionBuilder.Build(driver, spyRobustWrapper, fakeWaiter, new SpyRestrictedResourceDownloader(),
                                                 stubUrlBuilder);
 }
예제 #3
0
        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(".");
        }
예제 #4
0
        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");
        }