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
Mostrar archivo Open project: asynchrony/Selenium2

Public Methods

Method 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 method

Performs this action.
public Perform ( ) : void
return void

SendKeysAction() public method

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.
return System