| Package | Description |
|---|---|
| com.microsoft.playwright | |
| com.microsoft.playwright.options |
| Modifier and Type | Field and Description |
|---|---|
MouseButton |
Page.ClickOptions.button
Defaults to
left. |
MouseButton |
Page.DblclickOptions.button
Defaults to
left. |
MouseButton |
Frame.ClickOptions.button
Defaults to
left. |
MouseButton |
Frame.DblclickOptions.button
Defaults to
left. |
MouseButton |
Mouse.ClickOptions.button
Defaults to
left. |
MouseButton |
Mouse.DblclickOptions.button
Defaults to
left. |
MouseButton |
Mouse.DownOptions.button
Defaults to
left. |
MouseButton |
Mouse.UpOptions.button
Defaults to
left. |
MouseButton |
ElementHandle.ClickOptions.button
Defaults to
left. |
MouseButton |
ElementHandle.DblclickOptions.button
Defaults to
left. |
| Modifier and Type | Method and Description |
|---|---|
Page.ClickOptions |
Page.ClickOptions.setButton(MouseButton button) |
Page.DblclickOptions |
Page.DblclickOptions.setButton(MouseButton button) |
Frame.ClickOptions |
Frame.ClickOptions.setButton(MouseButton button) |
Frame.DblclickOptions |
Frame.DblclickOptions.setButton(MouseButton button) |
Mouse.ClickOptions |
Mouse.ClickOptions.setButton(MouseButton button) |
Mouse.DblclickOptions |
Mouse.DblclickOptions.setButton(MouseButton button) |
Mouse.DownOptions |
Mouse.DownOptions.setButton(MouseButton button) |
Mouse.UpOptions |
Mouse.UpOptions.setButton(MouseButton button) |
ElementHandle.ClickOptions |
ElementHandle.ClickOptions.setButton(MouseButton button) |
ElementHandle.DblclickOptions |
ElementHandle.DblclickOptions.setButton(MouseButton button) |
| Modifier and Type | Method and Description |
|---|---|
static MouseButton |
MouseButton.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MouseButton[] |
MouseButton.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2021. All rights reserved.