Beispiel #1
0
        public IWbTstr BootstrapInstance()
        {
            if (FluentSettings.Current.IsDryRun)
            {
                SeleniumWebDriver.DryRunBootstrap();
            }
            else if (RemoteDriverUri != null)
            {
                if (_browserStackLocalEnabled)
                {
                    string arguments = BrowserStackLocal.Instance.BuildArguments(_browserStackPassword,
                                                                                 _browserStackLocalFolder,
                                                                                 _browserStackOnlyAutomate,
                                                                                 _browserStackForceLocal,
                                                                                 _browserStackUseProxy,
                                                                                 _browserStackProxyHost,
                                                                                 _browserStackProxyPort,
                                                                                 _browserStackProxyUser,
                                                                                 _browserStackProxyPassword);

                    BrowserStackLocal.Instance.Start(_uniqueIdentifier, arguments);
                }

                SeleniumWebDriver.Bootstrap(RemoteDriverUri, Capabilities);
            }
            else
            {
                SeleniumWebDriver.Bootstrap(_localWebDriver);
            }

            return(this);
        }
Beispiel #2
0
 public StartUpPage(SeleniumWebDriver.Browser driver)
     : base(driver)
 {
 }
Beispiel #3
0
 public PageBase(SeleniumWebDriver.Browser browser)
 {
     SeleniumWebDriver.Bootstrap(browser);
     this.FluentTest = new FluentTest();
     this.I = this.FluentTest.I;
 }
Beispiel #4
0
 public SigninTest(SeleniumWebDriver.Browser browser)
     : base(browser)
 {
 }
Beispiel #5
0
 public UsersTest(SeleniumWebDriver.Browser browser)
     : base(browser)
 {
 }