Class LoadingFailed
java.lang.Object
org.openqa.selenium.devtools.v141.network.model.LoadingFailed
Fired when HTTP request has failed to load.
-
Constructor Summary
ConstructorsConstructorDescriptionLoadingFailed(RequestId requestId, MonotonicTime timestamp, ResourceType type, String errorText, Optional<Boolean> canceled, Optional<BlockedReason> blockedReason, Optional<CorsErrorStatus> corsErrorStatus) -
Method Summary
Modifier and TypeMethodDescriptionThe reason why loading was blocked, if any.True if loading was canceled.The reason why loading was blocked by CORS, if any.Error message.Request identifier.Timestamp.getType()Resource type.
-
Constructor Details
-
LoadingFailed
public LoadingFailed(RequestId requestId, MonotonicTime timestamp, ResourceType type, String errorText, Optional<Boolean> canceled, Optional<BlockedReason> blockedReason, Optional<CorsErrorStatus> corsErrorStatus)
-
-
Method Details
-
getRequestId
Request identifier. -
getTimestamp
Timestamp. -
getType
Resource type. -
getErrorText
Error message. List of network errors: https://cs.chromium.org/chromium/src/net/base/net_error_list.h -
getCanceled
True if loading was canceled. -
getBlockedReason
The reason why loading was blocked, if any. -
getCorsErrorStatus
The reason why loading was blocked by CORS, if any.
-