Class BrowserLeftClickInput
-
- All Implemented Interfaces:
public final class BrowserLeftClickInputLeft-click at a viewport coordinate or on an element by reference.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrowserLeftClickInput.BuilderA builder for BrowserLeftClickInput.
-
Method Summary
Modifier and Type Method Description final BrowserClickTargettarget()Where to act: either a viewport coordinate or an element reference. final Optional<String>modifiers()Optional modifier key chord to hold for the duration of this action (e.g. final Optional<String>tabId()Tab to act on. final JsonField<BrowserClickTarget>_target()Returns the raw JSON value of target. final JsonField<String>_modifiers()Returns the raw JSON value of modifiers. final JsonField<String>_tabId()Returns the raw JSON value of tabId. final Map<String, JsonValue>_additionalProperties()final BrowserLeftClickInput.BuildertoBuilder()final BrowserLeftClickInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrowserLeftClickInput.Builderbuilder()Returns a mutable builder for constructing an instance of BrowserLeftClickInput. final static BrowserLeftClickInputof(BrowserClickTarget target)Returns an immutable instance of BrowserLeftClickInput with the required target set to the given value. final static BrowserLeftClickInputof(BrowserCoordinateTarget coordinate)Alias for calling of with BrowserClickTarget.ofCoordinate(coordinate).final static BrowserLeftClickInputof(BrowserRefTarget ref)Alias for calling of with BrowserClickTarget.ofRef(ref).-
-
Method Detail
-
target
final BrowserClickTarget target()
Where to act: either a viewport coordinate or an element reference.
-
modifiers
final Optional<String> modifiers()
Optional modifier key chord to hold for the duration of this action (e.g. "shift", "ctrl+shift", "cmd+alt").
-
_target
final JsonField<BrowserClickTarget> _target()
Returns the raw JSON value of target.
Unlike target, this method doesn't throw if the JSON field has an unexpected type.
-
_modifiers
final JsonField<String> _modifiers()
Returns the raw JSON value of modifiers.
Unlike modifiers, this method doesn't throw if the JSON field has an unexpected type.
-
_tabId
final JsonField<String> _tabId()
Returns the raw JSON value of tabId.
Unlike tabId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BrowserLeftClickInput.Builder toBuilder()
-
validate
final BrowserLeftClickInput validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BrowserLeftClickInput.Builder builder()
Returns a mutable builder for constructing an instance of BrowserLeftClickInput.
The following fields are required:
.target()
-
of
final static BrowserLeftClickInput of(BrowserClickTarget target)
Returns an immutable instance of BrowserLeftClickInput with the required target set to the given value.
-
of
final static BrowserLeftClickInput of(BrowserCoordinateTarget coordinate)
Alias for calling of with
BrowserClickTarget.ofCoordinate(coordinate).
-
of
final static BrowserLeftClickInput of(BrowserRefTarget ref)
Alias for calling of with
BrowserClickTarget.ofRef(ref).
-
-
-
-