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

Inheritance: IWebElement
Show file Open project: AcklenAvenue/Pepino

Public Methods

Method Description
AddChild ( IWebElement element ) : void
Clear ( ) : void
Click ( ) : void
FakeWebElement ( ) : System
FindElement ( By @by ) : IWebElement
FindElements ( By @by ) : ReadOnlyCollection
GetAttribute ( string attributeName ) : string
GetCssValue ( string propertyName ) : string
KeyShouldHaveBeenSent ( int keyCode ) : void
KeysSent ( ) : string
MakeVisible ( ) : void
SendKeys ( string text ) : void
SetAttribute ( string attributeName, string value ) : void
SetTagName ( string tagName ) : void
SetText ( string text ) : void
SetValue ( string value ) : void
Submit ( ) : void
WasClicked ( ) : void

Method Details

AddChild() public method

public AddChild ( IWebElement element ) : void
element IWebElement
return void

Clear() public method

public Clear ( ) : void
return void

Click() public method

public Click ( ) : void
return void

FakeWebElement() public method

public FakeWebElement ( ) : System
return System

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

GetAttribute() public method

public GetAttribute ( string attributeName ) : string
attributeName string
return string

GetCssValue() public method

public GetCssValue ( string propertyName ) : string
propertyName string
return string

KeyShouldHaveBeenSent() public method

public KeyShouldHaveBeenSent ( int keyCode ) : void
keyCode int
return void

KeysSent() public method

public KeysSent ( ) : string
return string

MakeVisible() public method

public MakeVisible ( ) : void
return void

SendKeys() public method

public SendKeys ( string text ) : void
text string
return void

SetAttribute() public method

public SetAttribute ( string attributeName, string value ) : void
attributeName string
value string
return void

SetTagName() public method

public SetTagName ( string tagName ) : void
tagName string
return void

SetText() public method

public SetText ( string text ) : void
text string
return void

SetValue() public method

public SetValue ( string value ) : void
value string
return void

Submit() public method

public Submit ( ) : void
return void

WasClicked() public method

public WasClicked ( ) : void
return void