Package | Description |
---|---|
com.microsoft.playwright |
Modifier and Type | Method and Description |
---|---|
Locator.PressOptions |
Locator.PressOptions.setDelay(double delay)
Time to wait between
keydown and keyup in milliseconds. |
Locator.PressOptions |
Locator.PressOptions.setNoWaitAfter(boolean noWaitAfter)
Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading.
|
Locator.PressOptions |
Locator.PressOptions.setTimeout(double timeout)
Maximum time in milliseconds, defaults to 30 seconds, pass
0 to disable timeout. |
Modifier and Type | Method and Description |
---|---|
void |
Locator.press(String key,
Locator.PressOptions options)
Focuses the element, and then uses
Keyboard.down() and Keyboard.up() . |
Copyright © 2022. All rights reserved.