public class LifecycleWatcher extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
LifecycleWatcher.NavigationType |
| 限定符和类型 | 字段和说明 |
|---|---|
AwaitableResult<Boolean> |
navigationResponseReceived |
AwaitableResult<Exception> |
terminationResult |
| 构造器和说明 |
|---|
LifecycleWatcher(NetworkManager networkManager,
CdpFrame frame,
List<PuppeteerLifeCycle> waitUntil) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
dispose() |
boolean |
lifecycleIsDone() |
void |
navigatedWithinDocument() |
CdpResponse |
navigationResponse() |
boolean |
navigationResponseIsDone() |
boolean |
newDocumentNavigationIsDone() |
boolean |
sameDocumentNavigationIsDone() |
boolean |
terminationIsDone() |
public final AwaitableResult<Exception> terminationResult
public AwaitableResult<Boolean> navigationResponseReceived
public LifecycleWatcher(NetworkManager networkManager, CdpFrame frame, List<PuppeteerLifeCycle> waitUntil)
public boolean sameDocumentNavigationIsDone()
public boolean newDocumentNavigationIsDone()
public void navigatedWithinDocument()
public boolean lifecycleIsDone()
public boolean terminationIsDone()
public void dispose()
public boolean navigationResponseIsDone()
public CdpResponse navigationResponse()
Copyright © 2020–2025. All rights reserved.