public RWebElement(AutomationManager automationManager, BaseElementFinder <IWebElement> context) { Name = context.Name; _automationManager = automationManager; _context = context; }
public RWebElement(AutomationManager automationManager, By locator, string name) { Name = name; _automationManager = automationManager; _context = new ElementFinder(locator, name, automationManager.Driver); }