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

Inheritance: IWebDriver, ITakesScreenshot
Show file Open project: AcklenAvenue/Pepino

Public Methods

Method Description
Close ( ) : void
Dispose ( ) : void
FindElement ( By @by ) : IWebElement
FindElements ( By @by ) : ReadOnlyCollection
GetScreenshot ( ) : Screenshot
Manage ( ) : IOptions
Navigate ( ) : INavigation
Quit ( ) : void
ReturnElementWhenSearching ( IWebElement webElement, string element ) : void
SetPageSource ( string source ) : void
SetScreenShot ( string b64string ) : void
ShouldHaveNavigatedTo ( string url ) : void
SwitchTo ( ) : ITargetLocator
WasClosed ( ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

FindElement() public method

public FindElement ( By @by ) : IWebElement
@by OpenQA.Selenium.By
return IWebElement

FindElements() public method

public FindElements ( By @by ) : ReadOnlyCollection
@by OpenQA.Selenium.By
return ReadOnlyCollection

GetScreenshot() public method

public GetScreenshot ( ) : Screenshot
return OpenQA.Selenium.Screenshot

Manage() public method

public Manage ( ) : IOptions
return IOptions

Navigate() public method

public Navigate ( ) : INavigation
return INavigation

Quit() public method

public Quit ( ) : void
return void

ReturnElementWhenSearching() public method

public ReturnElementWhenSearching ( IWebElement webElement, string element ) : void
webElement IWebElement
element string
return void

SetPageSource() public method

public SetPageSource ( string source ) : void
source string
return void

SetScreenShot() public method

public SetScreenShot ( string b64string ) : void
b64string string
return void

ShouldHaveNavigatedTo() public method

public ShouldHaveNavigatedTo ( string url ) : void
url string
return void

SwitchTo() public method

public SwitchTo ( ) : ITargetLocator
return ITargetLocator

WasClosed() public method

public WasClosed ( ) : void
return void