C# Class Pepino.ScenarioRunner.Selenium.Specs.Fakes.FakeElementFinder

Inheritance: IElementFinder
Afficher le fichier Open project: AcklenAvenue/Pepino

Méthodes publiques

Méthode Description
FindMany ( IWebDriver webDriver, string selector, int seconds = 10 ) : IEnumerable
FindOne ( IWebDriver webDriver, string selector, int seconds = 10 ) : IWebElement
SetWebElement ( string selector, IWebElement element, Available after = Available.Immediately ) : void
ShouldBeInstructedToWaitSeconds ( string element, int seconds ) : void
ThrowWhenNotFound ( Exception exception ) : void

Private Methods

Méthode Description
AvailableElements ( string selector, int seconds ) : IEnumerable

Method Details

FindMany() public méthode

public FindMany ( IWebDriver webDriver, string selector, int seconds = 10 ) : IEnumerable
webDriver IWebDriver
selector string
seconds int
Résultat IEnumerable

FindOne() public méthode

public FindOne ( IWebDriver webDriver, string selector, int seconds = 10 ) : IWebElement
webDriver IWebDriver
selector string
seconds int
Résultat IWebElement

SetWebElement() public méthode

public SetWebElement ( string selector, IWebElement element, Available after = Available.Immediately ) : void
selector string
element IWebElement
after Available
Résultat void

ShouldBeInstructedToWaitSeconds() public méthode

public ShouldBeInstructedToWaitSeconds ( string element, int seconds ) : void
element string
seconds int
Résultat void

ThrowWhenNotFound() public méthode

public ThrowWhenNotFound ( Exception exception ) : void
exception System.Exception
Résultat void