Class BrowserFindInput
-
- All Implemented Interfaces:
public final class BrowserFindInputFind elements matching a natural-language description (e.g. "search bar", "add to cart button") and return up to 20 matches with element references.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrowserFindInput.BuilderA builder for BrowserFindInput.
-
Method Summary
Modifier and Type Method Description final Stringquery()Natural-language description of the element(s) to find. final Optional<String>tabId()Tab to act on. final JsonField<String>_query()Returns the raw JSON value of query. final JsonField<String>_tabId()Returns the raw JSON value of tabId. final Map<String, JsonValue>_additionalProperties()final BrowserFindInput.BuildertoBuilder()final BrowserFindInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrowserFindInput.Builderbuilder()Returns a mutable builder for constructing an instance of BrowserFindInput. final static BrowserFindInputof(String query)Returns an immutable instance of BrowserFindInput with the required query set to the given value. -
-
Method Detail
-
_query
final JsonField<String> _query()
Returns the raw JSON value of query.
Unlike query, 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 BrowserFindInput.Builder toBuilder()
-
validate
final BrowserFindInput 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 BrowserFindInput.Builder builder()
Returns a mutable builder for constructing an instance of BrowserFindInput.
The following fields are required:
.query()
-
of
final static BrowserFindInput of(String query)
Returns an immutable instance of BrowserFindInput with the required query set to the given value.
-
-
-
-