C# Класс OpenQA.Selenium.Interactions.KeyDownAction

Defines an action for pressing a modifier key (Shift, Alt, or Control) on the keyboard.
Наследование: OpenQA.Selenium.Interactions.Internal.SingleKeyAction, IAction
Показать файл Открыть проект

Открытые методы

Метод Описание
KeyDownAction ( IKeyboard keyboard, IMouse mouse, ILocatable actionTarget, string key ) : System

Initializes a new instance of the KeyDownAction class.

Perform ( ) : void

Performs this action.

Описание методов

KeyDownAction() публичный Метод

Initializes a new instance of the KeyDownAction class.
public KeyDownAction ( IKeyboard keyboard, IMouse mouse, ILocatable actionTarget, string key ) : 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.
key string The modifier key (, , ) to use in the action.
Результат System

Perform() публичный Метод

Performs this action.
public Perform ( ) : void
Результат void