Class Runtime.AwaitPromiseResponse
- java.lang.Object
-
- org.openqa.selenium.devtools.v95.runtime.Runtime.AwaitPromiseResponse
-
- Enclosing class:
- Runtime
public static class Runtime.AwaitPromiseResponse extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AwaitPromiseResponse(RemoteObject result, java.util.Optional<ExceptionDetails> exceptionDetails)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<ExceptionDetails>
getExceptionDetails()
Exception details if stack strace is available.RemoteObject
getResult()
Promise result.
-
-
-
Constructor Detail
-
AwaitPromiseResponse
public AwaitPromiseResponse(RemoteObject result, java.util.Optional<ExceptionDetails> exceptionDetails)
-
-
Method Detail
-
getResult
public RemoteObject getResult()
Promise result. Will contain rejected value if promise was rejected.
-
getExceptionDetails
public java.util.Optional<ExceptionDetails> getExceptionDetails()
Exception details if stack strace is available.
-
-