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