Ejemplo n.º 1
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();
 }
Ejemplo n.º 2
0
 public FrameFinder(IWebDriver selenium, ElementFinder elementFinder, XPath xPath)
 {
     this.selenium = selenium;
     this.elementFinder = elementFinder;
     this.xPath = xPath;
 }
Ejemplo n.º 3
0
 public FieldFinder(ElementFinder elementFinder, XPath xPath)
 {
     this.elementFinder = elementFinder;
     this.xPath = xPath;
 }
Ejemplo n.º 4
0
 public ButtonFinder(ElementFinder elementFinder, TextMatcher textMatcher, XPath xPath)
 {
     this.elementFinder = elementFinder;
     this.textMatcher = textMatcher;
     this.xPath = xPath;
 }
Ejemplo n.º 5
0
 public SectionFinder(ElementFinder elementFinder, TextMatcher textMatcher)
 {
     this.elementFinder = elementFinder;
     this.textMatcher = textMatcher;
 }