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
파일 보기 프로젝트 열기: asynchrony/Selenium2

공개 메소드들

메소드 설명
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