 | ExtensionMethodsDeleteAndSendKeys Method |
Vymaže obsah elementu přes přímou interakci s textovým polem a vloží do něj novou hodnotu
Namespace:
TescoSW.MW.UITests.Common
Assembly:
TescoSW.MW.UITests.Common (in TescoSW.MW.UITests.Common.dll) Version: 21.2.8103.33088
Syntaxpublic static void DeleteAndSendKeys(
this IWebElement element,
string text,
int interval = 8
)
Parameters
- element
- Type: IWebElement
element do kterého se vkládá text - text
- Type: SystemString
vkládaný text - interval (Optional)
- Type: SystemInt32
doba v sekundách po kterou se má čekat na předanou akci
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IWebElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also