コード例 #1
0
ファイル: SeleniumWebDriver.cs プロジェクト: Br3ttl3y/coypu
 protected SeleniumWebDriver(IWebDriver webDriver, Browser browser)
 {
     this.webDriver = webDriver;
     this.browser = browser;
     xPath = new XPath(browser.UppercaseTagNames);
     elementFinder = new ElementFinder();
     frameFinder = new FrameFinder(this.webDriver, elementFinder,xPath);
     textMatcher = new TextMatcher();
     windowHandleFinder = new WindowHandleFinder(this.webDriver);
     dialogs = new Dialogs(this.webDriver);
     mouseControl = new MouseControl(this.webDriver);
 }
コード例 #2
0
ファイル: SeleniumWebDriver.cs プロジェクト: hnhan/coypu
 protected SeleniumWebDriver(IWebDriver webDriver, Browser browser)
 {
     this.webDriver     = webDriver;
     this.browser       = browser;
     xPath              = new XPath(browser.UppercaseTagNames);
     elementFinder      = new ElementFinder();
     frameFinder        = new FrameFinder(this.webDriver, elementFinder, xPath);
     textMatcher        = new TextMatcher();
     windowHandleFinder = new WindowHandleFinder(this.webDriver);
     dialogs            = new Dialogs(this.webDriver);
     mouseControl       = new MouseControl(this.webDriver);
 }
コード例 #3
0
 protected SeleniumWebDriver(IWebDriver webDriver,
                             Browser browser)
 {
     _webDriver             = webDriver;
     _browser               = browser;
     _elementFinder         = new ElementFinder();
     _textMatcher           = new TextMatcher();
     _dialogs               = new Dialogs(_webDriver);
     _mouseControl          = new MouseControl(_webDriver);
     _seleniumWindowManager = new SeleniumWindowManager(_webDriver);
     _frameFinder           = new FrameFinder(_webDriver, _elementFinder, new XPath(browser.UppercaseTagNames), _seleniumWindowManager);
     _windowHandleFinder    = new WindowHandleFinder(_webDriver, _seleniumWindowManager);
     Cookies = new Cookies(_webDriver);
 }
コード例 #4
0
 protected SeleniumWebDriver(IWebDriver webDriver, Browser browser)
 {
     this.webDriver = webDriver;
     this.browser = browser;
     xPath = new XPath();
     elementFinder = new ElementFinder(xPath);
     fieldFinder = new FieldFinder(elementFinder, xPath);
     frameFinder = new FrameFinder(this.webDriver, elementFinder,xPath);
     textMatcher = new TextMatcher();
     buttonFinder = new ButtonFinder(elementFinder, textMatcher, xPath);
     sectionFinder = new SectionFinder(elementFinder, textMatcher);
     dialogs = new Dialogs(this.webDriver);
     mouseControl = new MouseControl(this.webDriver);
     optionSelector = new OptionSelector();
 }
コード例 #5
0
ファイル: SeleniumWebDriver.cs プロジェクト: bszypelow/coypu
 protected SeleniumWebDriver(IWebDriver webDriver, Browser browser)
 {
     this.webDriver = webDriver;
     this.browser   = browser;
     xPath          = new XPath();
     elementFinder  = new ElementFinder(xPath);
     fieldFinder    = new FieldFinder(elementFinder, xPath);
     frameFinder    = new FrameFinder(this.webDriver, elementFinder, xPath);
     textMatcher    = new TextMatcher();
     buttonFinder   = new ButtonFinder(elementFinder, textMatcher, xPath);
     sectionFinder  = new SectionFinder(elementFinder, textMatcher);
     dialogs        = new Dialogs(this.webDriver);
     mouseControl   = new MouseControl(this.webDriver);
     optionSelector = new OptionSelector();
 }