Class BetaBrowserJavascriptExecInput
-
- All Implemented Interfaces:
public final class BetaBrowserJavascriptExecInputExecute JavaScript in the page context and return the value of the last expression. The code runs with access to the DOM,
window, and page variables. Write the expression you want evaluated — do NOT usereturn.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaBrowserJavascriptExecInput.BuilderA builder for BetaBrowserJavascriptExecInput.
-
Method Summary
Modifier and Type Method Description final Stringtext()JavaScript to execute in the page context. final Optional<String>tabId()Tab to act on. final JsonField<String>_text()Returns the raw JSON value of text. final JsonField<String>_tabId()Returns the raw JSON value of tabId. final Map<String, JsonValue>_additionalProperties()final BetaBrowserJavascriptExecInput.BuildertoBuilder()final BetaBrowserJavascriptExecInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaBrowserJavascriptExecInput.Builderbuilder()Returns a mutable builder for constructing an instance of BetaBrowserJavascriptExecInput. final static BetaBrowserJavascriptExecInputof(String text)Returns an immutable instance of BetaBrowserJavascriptExecInput with the required text set to the given value. -
-
Method Detail
-
_text
final JsonField<String> _text()
Returns the raw JSON value of text.
Unlike text, 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 BetaBrowserJavascriptExecInput.Builder toBuilder()
-
validate
final BetaBrowserJavascriptExecInput 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 BetaBrowserJavascriptExecInput.Builder builder()
Returns a mutable builder for constructing an instance of BetaBrowserJavascriptExecInput.
The following fields are required:
.text()
-
of
final static BetaBrowserJavascriptExecInput of(String text)
Returns an immutable instance of BetaBrowserJavascriptExecInput with the required text set to the given value.
-
-
-
-