| 程序包 | 说明 |
|---|---|
| com.ruiyun.jvppeteer.api.core | |
| com.ruiyun.jvppeteer.bidi.core | |
| com.ruiyun.jvppeteer.cdp.core | |
| com.ruiyun.jvppeteer.cdp.entities |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
Keyboard.press(String key,
KeyPressOptions options)
Keyboard.down() 和 Keyboard.up() 的快捷方式。
|
void |
ElementHandle.press(String key,
KeyPressOptions options)
聚焦元素,然后使用 Keyboard.down() 和 Keyboard.up()。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
BidiKeyboard.press(String key,
KeyPressOptions options) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CdpKeyboard.press(String key,
KeyPressOptions options)
Keyboard.down() 和 Keyboard.up() 的快捷方式。
|
| 限定符和类型 | 方法和说明 |
|---|---|
KeyPressOptions |
KeyPressOptions.setCommands(List<String> commands) |
KeyPressOptions |
KeyPressOptions.setDelay(long delay) |
KeyPressOptions |
KeyPressOptions.setText(String text) |
Copyright © 2020–2025. All rights reserved.