public class RobotsKeyboard
extends java.lang.Object
| Constructor and Description |
|---|
RobotsKeyboard(Keyboard keyboard) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
void |
pressKey(java.lang.CharSequence keyToPress)
Delegates execution to
Keyboard#pressKey(CharSequence) |
void |
releaseKey(java.lang.CharSequence keyToRelease)
Delegates execution to
Keyboard#pressKey(CharSequence) |
void |
sendKeys(java.lang.CharSequence... charSequences)
Sends a string to current window using keyboard.
|
void |
sendKeys(java.lang.Object text)
Sends a string to current window using keyboard.
|
public void sendKeys(java.lang.CharSequence... charSequences)
Sends a string to current window using keyboard.
Delegates invocation to driver.getKeyboard().sendKeys(...)
Driver Type: Desktop, Web
charSequences - can be a Char Sequence (ex. String, Keys.CHAR), all items will be concatenatedpublic void sendKeys(java.lang.Object text)
Sends a string to current window using keyboard.
Delegates invocation to driver.getKeyboard().sendKeys(...)
Driver Type: Desktop, Web
text - can be a Collection or Array, all items will be concatenatedpublic void pressKey(java.lang.CharSequence keyToPress)
Keyboard#pressKey(CharSequence)
Driver Type: Desktop, Web
public void releaseKey(java.lang.CharSequence keyToRelease)
Keyboard#pressKey(CharSequence)
Driver Type: Desktop, Web
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2024 WorkFusion, Inc. All rights reserved.