C# Class OpenQA.Selenium.Interactions.SendKeysAction

Defines an action for sending a sequence of keystrokes to an element.
Inheritance: OpenQA.Selenium.Interactions.Internal.KeyboardAction, IAction
Afficher le fichier Open project: asynchrony/Selenium2

Méthodes publiques

Méthode Description
Perform ( ) : void

Performs this action.

SendKeysAction ( IKeyboard keyboard, IMouse mouse, ILocatable actionTarget, string keysToSend ) : System

Initializes a new instance of the SendKeysAction class.

Method Details

Perform() public méthode

Performs this action.
public Perform ( ) : void
Résultat void

SendKeysAction() public méthode

Initializes a new instance of the SendKeysAction class.
public SendKeysAction ( IKeyboard keyboard, IMouse mouse, ILocatable actionTarget, string keysToSend ) : System
keyboard IKeyboard The to use in performing the action.
mouse IMouse The to use in setting focus to the element on which to perform the action.
actionTarget ILocatable An object providing the element on which to perform the action.
keysToSend string The key sequence to send.
Résultat System