Class BrowserReadPageInput
-
- All Implemented Interfaces:
public final class BrowserReadPageInputReturn a structured accessibility tree of the page (or the subtree rooted at
ref), with element references like ref_7 that can be used as targets on later actions. Output is capped at 50,000 characters — narrow withrefor a smallerdepthwhen exceeded.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrowserReadPageInput.BuilderA builder for BrowserReadPageInput.
-
Method Summary
Modifier and Type Method Description final Optional<Long>depth()Maximum tree depth. final Optional<BrowserReadPageFilter>filter()Which elements to include. final Optional<String>ref()Element reference to read a subtree from. final Optional<String>tabId()Tab to act on. final JsonField<Long>_depth()Returns the raw JSON value of depth. final JsonField<BrowserReadPageFilter>_filter()Returns the raw JSON value of filter. final JsonField<String>_ref()Returns the raw JSON value of ref. final JsonField<String>_tabId()Returns the raw JSON value of tabId. final Map<String, JsonValue>_additionalProperties()final BrowserReadPageInput.BuildertoBuilder()final BrowserReadPageInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrowserReadPageInput.Builderbuilder()Returns a mutable builder for constructing an instance of BrowserReadPageInput. -
-
Method Detail
-
filter
final Optional<BrowserReadPageFilter> filter()
Which elements to include. Omitted: every visible element. "interactive": interactive elements only. "all": additionally includes off-viewport elements.
-
ref
final Optional<String> ref()
Element reference to read a subtree from. Omit to read from the page root.
-
_depth
final JsonField<Long> _depth()
Returns the raw JSON value of depth.
Unlike depth, this method doesn't throw if the JSON field has an unexpected type.
-
_filter
final JsonField<BrowserReadPageFilter> _filter()
Returns the raw JSON value of filter.
Unlike filter, this method doesn't throw if the JSON field has an unexpected type.
-
_ref
final JsonField<String> _ref()
Returns the raw JSON value of ref.
Unlike ref, 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 BrowserReadPageInput.Builder toBuilder()
-
validate
final BrowserReadPageInput 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 BrowserReadPageInput.Builder builder()
Returns a mutable builder for constructing an instance of BrowserReadPageInput.
-
-
-
-