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