Exemplo n.º 1
0
 public FrameFinder(IWebDriver selenium, ElementFinder elementFinder, XPath xPath, SeleniumWindowManager seleniumWindowManager)
 {
     this.selenium = selenium;
     this.elementFinder = elementFinder;
     this.xPath = xPath;
     this.seleniumWindowManager = seleniumWindowManager;
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
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();
 }
Exemplo n.º 4
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();
 }
Exemplo n.º 5
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();
 }
Exemplo n.º 6
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();
 }
Exemplo n.º 7
0
 public FieldFinder(ElementFinder elementFinder, XPath xPath)
 {
     this.elementFinder = elementFinder;
     this.xPath = xPath;
 }
Exemplo n.º 8
0
 public IFrameFinder(IWebDriver selenium, ElementFinder elementFinder)
 {
     this.selenium = selenium;
     this.elementFinder = elementFinder;
 }
Exemplo n.º 9
0
 public FrameFinder(IWebDriver selenium, ElementFinder elementFinder, XPath xPath)
 {
     this.selenium      = selenium;
     this.elementFinder = elementFinder;
     this.xPath         = xPath;
 }
Exemplo n.º 10
0
 public FieldFinder(ElementFinder elementFinder)
 {
     this.elementFinder = elementFinder;
 }
Exemplo n.º 11
0
 public FrameFinder(IWebDriver selenium, ElementFinder elementFinder, XPath xPath)
 {
     this.selenium = selenium;
     this.elementFinder = elementFinder;
     this.xPath = xPath;
 }
Exemplo n.º 12
0
 public SectionFinder(ElementFinder elementFinder, XPath xPath)
 {
     this.elementFinder = elementFinder;
     this.xPath         = xPath;
 }
Exemplo n.º 13
0
 public SectionFinder(ElementFinder elementFinder, TextMatcher textMatcher)
 {
     this.elementFinder = elementFinder;
     this.textMatcher   = textMatcher;
 }
Exemplo n.º 14
0
 public SectionFinder(RemoteWebDriver selenium, ElementFinder elementFinder, TextMatcher textMatcher)
 {
     this.selenium = selenium;
     this.elementFinder = elementFinder;
     this.textMatcher = textMatcher;
 }
Exemplo n.º 15
0
 public SectionFinder(ElementFinder elementFinder, XPath xPath)
 {
     this.elementFinder = elementFinder;
     this.xPath = xPath;
 }
Exemplo n.º 16
0
 public ButtonFinder(ElementFinder elementFinder, TextMatcher textMatcher, XPath xPath)
 {
     this.elementFinder = elementFinder;
     this.textMatcher   = textMatcher;
     this.xPath         = xPath;
 }
Exemplo n.º 17
0
 public ButtonFinder(ElementFinder elementFinder, TextMatcher textMatcher, XPath xPath)
 {
     this.elementFinder = elementFinder;
     this.textMatcher = textMatcher;
     this.xPath = xPath;
 }
Exemplo n.º 18
0
 public FieldFinder(ElementFinder elementFinder, XPath xPath)
 {
     this.elementFinder = elementFinder;
     this.xPath         = xPath;
 }
Exemplo n.º 19
0
 public SectionFinder(ElementFinder elementFinder, TextMatcher textMatcher)
 {
     this.elementFinder = elementFinder;
     this.textMatcher = textMatcher;
 }