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(); }
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(); }
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(); }
public ElementFinder(Scoping scoping) { this.scoping = scoping; }
public ElementFinder(Scoping scoping, XPath xPath) { this.scoping = scoping; this.xPath = xPath; }