Description of WebElementFromSelenium.
Inheritance: IWebElement, ISearchContext, IFindsByLinkText, IFindsById, IFindsByName, IFindsByTagName, IFindsByClassName, IFindsByXPath, IFindsByPartialLinkText, IFindsByCssSelector, IWrapsDriver, ILocatable
コード例 #1
0
ファイル: FakeCoordinates.cs プロジェクト: MatkoHanus/STUPS
 /// <summary>
 ///       Initializes a new instance of the <see cref="T:OpenQA.Selenium.Remote.RemoteCoordinates" /> class.
 ///       </summary>
 /// <param name="element">The <see cref="T:OpenQA.Selenium.Remote.RemoteWebElement" /> to be located.</param>
 //public RemoteCoordinates(RemoteWebElement element)
 //public FakeCoordinates(RemoteWebElement element)
 public FakeCoordinates(FakeWebElement element)
 {
     this.element = element;
 }
コード例 #2
0
 /// <summary>
 ///       Initializes a new instance of the <see cref="T:OpenQA.Selenium.Remote.RemoteCoordinates" /> class.
 ///       </summary>
 /// <param name="element">The <see cref="T:OpenQA.Selenium.Remote.RemoteWebElement" /> to be located.</param>
 //public RemoteCoordinates(RemoteWebElement element)
 //public FakeCoordinates(RemoteWebElement element)
 public FakeCoordinates(FakeWebElement element)
 {
     this.element = element;
 }
コード例 #3
0
ファイル: FakeWebElement.cs プロジェクト: krisdages/STUPS
 //public WebElementDecorator(RemoteWebElement realWebElement) // : base(realWebElement.WrappedDriver, "")
 /// <summary>
 /// Like decorator
 /// </summary>
 /// <param name="realWebElement"></param>
 public FakeWebElement(IWebElement realWebElement)
 {
     this.DecoratedWebElement = realWebElement as FakeWebElement;
     this.SearchHistory =
         new List<ISearchHistory>();
 }