Beispiel #1
0
        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));
        }
Beispiel #2
0
 public WebElementInstance ActiveElement()
 {
     return(new WebElementInstance(this.Engine.Object.InstancePrototype, m_targetLocator.ActiveElement()));
 }
Beispiel #3
0
 public IWebElement ActiveElement()
 {
     lock (m_lock) { return(new WebElement(locator.ActiveElement(), m_lock)); }
 }
Beispiel #4
0
 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);
 }