Click or drag to resize
Tesco SW, a.s.

BaseElementSendKeys Method

Simulates typing text into the element.

Namespace:  TescoSW.MW.UITests.Common.PageModel.Components
Assembly:  TescoSW.MW.UITests.Common (in TescoSW.MW.UITests.Common.dll) Version: 21.2.8103.33088
Syntax
C#
public virtual void SendKeys(
	string text
)

Parameters

text
Type: SystemString
The text to type into the element.

Implements

IWebElement.SendKeys(String)
Exceptions
ExceptionCondition
InvalidElementStateExceptionThrown when the target element is not enabled.
ElementNotVisibleExceptionThrown when the target element is not visible.
StaleElementReferenceExceptionThrown when the target element is no longer valid in the document DOM.
Remarks
The text to be typed may include special characters like arrow keys, backspaces, function keys, and so on. Valid special keys are defined in Keys.
See Also