Class PrerenderAttemptCompleted
- java.lang.Object
-
- org.openqa.selenium.devtools.v114.preload.model.PrerenderAttemptCompleted
-
public class PrerenderAttemptCompleted extends java.lang.ObjectFired when a prerender attempt is completed.
-
-
Constructor Summary
Constructors Constructor Description PrerenderAttemptCompleted(PreloadingAttemptKey key, FrameId initiatingFrameId, java.lang.String prerenderingUrl, PrerenderFinalStatus finalStatus, java.util.Optional<java.lang.String> disallowedApiMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>getDisallowedApiMethod()This is used to give users more information about the name of the API call that is incompatible with prerender and has caused the cancellation of the attemptPrerenderFinalStatusgetFinalStatus()FrameIdgetInitiatingFrameId()The frame id of the frame initiating prerendering.PreloadingAttemptKeygetKey()java.lang.StringgetPrerenderingUrl()
-
-
-
Constructor Detail
-
PrerenderAttemptCompleted
public PrerenderAttemptCompleted(PreloadingAttemptKey key, FrameId initiatingFrameId, java.lang.String prerenderingUrl, PrerenderFinalStatus finalStatus, java.util.Optional<java.lang.String> disallowedApiMethod)
-
-
Method Detail
-
getKey
public PreloadingAttemptKey getKey()
-
getInitiatingFrameId
public FrameId getInitiatingFrameId()
The frame id of the frame initiating prerendering.
-
getPrerenderingUrl
public java.lang.String getPrerenderingUrl()
-
getFinalStatus
public PrerenderFinalStatus getFinalStatus()
-
getDisallowedApiMethod
public java.util.Optional<java.lang.String> getDisallowedApiMethod()
This is used to give users more information about the name of the API call that is incompatible with prerender and has caused the cancellation of the attempt
-
-