Пример #1
0
 public RWebElement(AutomationManager automationManager, BaseElementFinder <IWebElement> context)
 {
     Name = context.Name;
     _automationManager = automationManager;
     _context           = context;
 }
Пример #2
0
 public RWebElement(AutomationManager automationManager, By locator, string name)
 {
     Name = name;
     _automationManager = automationManager;
     _context           = new ElementFinder(locator, name, automationManager.Driver);
 }