public IWebElement ActiveElement() { IWebElement element = targetLocator_.ActiveElement(); if (!(element is RemoteWebElement remoteWebElement)) { throw new EyesException("Not a remote web element!"); } return(new EyesRemoteWebElement(logger_, driver_, remoteWebElement)); }
public WebElementInstance ActiveElement() { return(new WebElementInstance(this.Engine.Object.InstancePrototype, m_targetLocator.ActiveElement())); }
public IWebElement ActiveElement() { lock (m_lock) { return(new WebElement(locator.ActiveElement(), m_lock)); } }
public IWebElement ActiveElement() { return(_targetLocator.ActiveElement()); }
public IWebElementWrapper ActiveElement() { return(_targetLocator.ActiveElement().ToWrapper()); }
/// <summary> /// Method to Scroll down the iFrame /// </summary> public static void IframeScrollDown() { currentframe.ActiveElement().SendKeys(Keys.Tab); currentframe.ActiveElement().SendKeys(Keys.PageDown); }