Esempio n. 1
0
        /// <summary>
        ///     Creates a <see cref="AsyncWebElement" /> with the specified ID.
        /// </summary>
        /// <param name="elementId">The ID of this element.</param>
        /// <returns>A <see cref="AsyncWebElement" /> with the specified ID.</returns>
        public virtual AsyncWebElement CreateElement(string elementId)
        {
            if (string.IsNullOrWhiteSpace(elementId))
            {
                return(null);
            }
            var toReturn = new AsyncWebElement(this, elementId);

            return(toReturn);
        }
 public SyncWebElement(AsyncWebElement element)
 {
     AsyncElement = element;
 }
 public RemoteCoordinates(AsyncWebElement remoteWebElement)
 {
     this.remoteWebElement = remoteWebElement;
 }