public void testProxify() { IWebElement remoteWebElement = new RemoteWebElement(null, "abcdef"); object wrapped = EUEElementProxifier.proxifyIfRequired(remoteWebElement, null, null, null); Assert.IsTrue(wrapped != remoteWebElement && wrapped is IWebElement); //should be an instance of IWebElement }
public object proxify(object webElement) { return(EUEElementProxifier.proxifyIfRequired(webElement, driver, dataExchangeEntryHelper, config)); }