C# 클래스 OpenQA.Selenium.Remote.RemoteKeyboard

Defines the interface through which the user can execute advanced keyboard interactions.
상속: IKeyboard
파일 보기 프로젝트 열기: asynchrony/Selenium2

공개 메소드들

메소드 설명
PressKey ( string keyToPress ) : void

Presses a key.

The key value must be one of the values from the Keys class.

ReleaseKey ( string keyToRelease ) : void

Releases a key.

The key value must be one of the values from the Keys class.

RemoteKeyboard ( RemoteWebDriver driver ) : System

Initializes a new instance of the RemoteKeyboard class.

SendKeys ( string keySequence ) : void

Sends a sequence of keystrokes to the target.

메소드 상세

PressKey() 공개 메소드

Presses a key.
The key value must be one of the values from the Keys class.
public PressKey ( string keyToPress ) : void
keyToPress string The key value representing the key to press.
리턴 void

ReleaseKey() 공개 메소드

Releases a key.
The key value must be one of the values from the Keys class.
public ReleaseKey ( string keyToRelease ) : void
keyToRelease string The key value representing the key to release.
리턴 void

RemoteKeyboard() 공개 메소드

Initializes a new instance of the RemoteKeyboard class.
public RemoteKeyboard ( RemoteWebDriver driver ) : System
driver RemoteWebDriver The for which the keyboard will be managed.
리턴 System

SendKeys() 공개 메소드

Sends a sequence of keystrokes to the target.
public SendKeys ( string keySequence ) : void
keySequence string A string representing the keystrokes to send.
리턴 void