Esempio n. 1
0
 public SeleniumWebDriver()
 {
     selenium = new DriverFactory().NewRemoteWebDriver();
     scoping = new Scoping(selenium);
     elementFinder = new ElementFinder(scoping);
     fieldFinder = new FieldFinder(elementFinder);
     iframeFinder = new IFrameFinder(selenium, elementFinder);
     textMatcher = new TextMatcher();
     buttonFinder = new ButtonFinder(elementFinder, textMatcher);
     sectionFinder = new SectionFinder(selenium, elementFinder,textMatcher);
     dialogs = new Dialogs(selenium);
     mouseControl = new MouseControl(selenium);
     optionSelector = new OptionSelector();
 }
Esempio n. 2
0
 protected SeleniumWebDriver(RemoteWebDriver webDriver)
 {
     selenium       = webDriver;
     xPath          = new XPath();
     scoping        = new Scoping(selenium);
     elementFinder  = new ElementFinder(scoping, xPath);
     fieldFinder    = new FieldFinder(elementFinder, xPath);
     iframeFinder   = new IFrameFinder(selenium, elementFinder, xPath);
     textMatcher    = new TextMatcher();
     buttonFinder   = new ButtonFinder(elementFinder, textMatcher, xPath);
     sectionFinder  = new SectionFinder(elementFinder, textMatcher);
     dialogs        = new Dialogs(selenium);
     mouseControl   = new MouseControl(selenium);
     optionSelector = new OptionSelector();
 }
Esempio n. 3
0
 protected SeleniumWebDriver(RemoteWebDriver webDriver)
 {
     selenium = webDriver;
     xPath = new XPath();
     scoping = new Scoping(selenium);
     elementFinder = new ElementFinder(scoping,xPath);
     fieldFinder = new FieldFinder(elementFinder, xPath);
     iframeFinder = new IFrameFinder(selenium, elementFinder,xPath);
     textMatcher = new TextMatcher();
     buttonFinder = new ButtonFinder(elementFinder, textMatcher, xPath);
     sectionFinder = new SectionFinder(elementFinder, textMatcher);
     dialogs = new Dialogs(selenium);
     mouseControl = new MouseControl(selenium);
     optionSelector = new OptionSelector();
 }
Esempio n. 4
0
 public ElementFinder(Scoping scoping)
 {
     this.scoping = scoping;
 }
Esempio n. 5
0
 public ElementFinder(Scoping scoping, XPath xPath)
 {
     this.scoping = scoping;
     this.xPath = xPath;
 }
Esempio n. 6
0
 public ElementFinder(Scoping scoping, XPath xPath)
 {
     this.scoping = scoping;
     this.xPath   = xPath;
 }