Class CallArgument
- java.lang.Object
-
- org.openqa.selenium.devtools.v103.runtime.model.CallArgument
-
public class CallArgument extends java.lang.Object
Represents function call argument. Either remote object id `objectId`, primitive `value`, unserializable primitive value or neither of (for undefined) them should be specified.
-
-
Constructor Summary
Constructors Constructor Description CallArgument​(java.util.Optional<java.lang.Object> value, java.util.Optional<UnserializableValue> unserializableValue, java.util.Optional<RemoteObjectId> objectId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<RemoteObjectId>
getObjectId()
Remote object handle.java.util.Optional<UnserializableValue>
getUnserializableValue()
Primitive value which can not be JSON-stringified.java.util.Optional<java.lang.Object>
getValue()
Primitive value or serializable javascript object.
-
-
-
Constructor Detail
-
CallArgument
public CallArgument​(java.util.Optional<java.lang.Object> value, java.util.Optional<UnserializableValue> unserializableValue, java.util.Optional<RemoteObjectId> objectId)
-
-
Method Detail
-
getValue
public java.util.Optional<java.lang.Object> getValue()
Primitive value or serializable javascript object.
-
getUnserializableValue
public java.util.Optional<UnserializableValue> getUnserializableValue()
Primitive value which can not be JSON-stringified.
-
getObjectId
public java.util.Optional<RemoteObjectId> getObjectId()
Remote object handle.
-
-