Beispiel #1
0
 public Browser(Web web, ITestLogger log, DriverManager driverManager)
 {
     this.Web            = web;
     this.Log            = log;
     this._driverManager = driverManager;
     this._driverManager.InitDriver();
     this.Driver  = this._driverManager.GetDriver();
     this.Find    = new BrowserFind(this);
     this.Get     = new BrowserGet(this);
     this.Is      = new BrowserIs(this);
     this.Alert   = new BrowserAlert(this);
     this.State   = new BrowserState(this);
     this.Action  = new BrowserAction(this);
     this.Window  = new BrowserWindow(this);
     this.Go      = new BrowserGo(this);
     this.Wait    = new BrowserWait(this);
     this.Js      = new BrowserJs(this);
     this.Cookies = new BrowserCookies(this);
 }
Beispiel #2
0
 public BrowserAction(Browser browser)
     : base(browser)
 {
     this._find = browser.Find;
 }