Example #1
0
 public void CreateSession()
 {
     configuration = new SessionConfiguration {
         Browser = Browser.PhantomJS
     };
     session = new PageSession(configuration);
 }
Example #2
0
        public void VisitTheHomePage()
        {
            var configuration = new SessionConfiguration {
                Browser = Browser.PhantomJS
            };

            session = new PageSession(configuration);
            var page = new HomePage(session);

            page.Visit();
        }
Example #3
0
        public void CreateSession()
        {
            var configuration = new SessionConfiguration
            {
                // Uncomment the Browser you want
                //Browser = Browser.Firefox,
                Browser = Browser.Chrome
                          //Browser = Browser.InternetExplorer,
                          //Browser = Browser.PhantomJS,
            };

            session = new PageSession(configuration);
            objectContainer.RegisterInstanceAs(session);
        }
Example #4
0
 public MatchingPort(PageSession session) : base(session)
 {
 }
Example #5
0
 public MatchingScheme(PageSession session) : base(session)
 {
 }
Example #6
0
 public DifferentPath(PageSession session) : base(session)
 {
 }
Example #7
0
 public SelfReferencingPage(PageSession session = null) : base(session)
 {
 }
Example #8
0
 public NullBasePageAndPath(PageSession session = null) : base(session)
 {
 }
Example #9
0
 public BasePageAndNullPath(PageSession session = null) : base(session)
 {
 }
Example #10
0
 public CircularReference2B(PageSession session = null) : base(session)
 {
 }
Example #11
0
 public PortGrandchild(PageSession session) : base(session)
 {
 }
Example #12
0
 public PortChild(PageSession session) : base(session)
 {
 }
Example #13
0
 public PortParent(PageSession session) : base(session)
 {
 }
Example #14
0
 public SchemeGrandchild(PageSession session) : base(session)
 {
 }
Example #15
0
 public HomePage(PageSession session) : base(session)
 {
 }
Example #16
0
 public SchemeChild(PageSession session) : base(session)
 {
 }
Example #17
0
 public SchemeParent(PageSession session) : base(session)
 {
 }
Example #18
0
 public MatchingHost(PageSession session) : base(session)
 {
 }
Example #19
0
 public MatchingPath(PageSession session) : base(session)
 {
 }
Example #20
0
 public PathParent(PageSession session) : base(session)
 {
 }
Example #21
0
 public BasePageOnly(PageSession session = null) : base(session)
 {
 }
Example #22
0
 public PathChild(PageSession session) : base(session)
 {
 }
Example #23
0
 public BasePageAndEmptyPath(PageSession session = null) : base(session)
 {
 }
Example #24
0
 public PathGrandchild(PageSession session) : base(session)
 {
 }
Example #25
0
 public BaseThatIsNotAPage(PageSession session = null) : base(session)
 {
 }
Example #26
0
 public HomePage(PageSession browser) : base(browser, "/")
 {
 }
Example #27
0
 protected Steps(PageSession session)
 {
     Session = session;
 }
Example #28
0
 public DifferentHost(PageSession session) : base(session)
 {
 }
Example #29
0
 public TestPage(PageSession session) : base(session)
 {
 }
Example #30
0
 public SameUrl(PageSession session) : base(session)
 {
 }