Class DefaultBrowserEmulator
-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.config.Parameterized,ai.platon.pulsar.common.event.EventEmitter,ai.platon.pulsar.skeleton.workflow.protocol.browser.BrowserEmulator,java.lang.AutoCloseable
public final class DefaultBrowserEmulator extends InteractiveBrowserEmulator
-
-
Field Summary
Fields Modifier and Type Field Description private Function1<Throwable, Unit>eventExceptionHandlerprivate final WebDriverPoolManagerdriverPoolManagerprivate final BooleanisActiveprivate final BrowserResponseHandlerresponseHandlerprivate final ImmutableConfigimmutableConfigprivate final Map<EmulateEvents, List<Function<Object>>>listeners
-
Constructor Summary
Constructors Constructor Description DefaultBrowserEmulator(WebDriverPoolManager driverPoolManager, ImmutableConfig conf)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class ai.platon.pulsar.protocol.browser.emulator.impl.InteractiveBrowserEmulator
cancel, cancelNow, close, getDriverPoolManager, getEventExceptionHandler, onDidInteract, onDidScroll, onDocumentFullyLoaded, onDocumentSteady, onFeatureComputed, onNavigated, onTabStopped, onWillCheckDocumentState, onWillComputeFeature, onWillInteract, onWillNavigate, onWillScroll, onWillStopTab, scrollOnPage, setEventExceptionHandler, visit, waitForNetworkIdle -
Methods inherited from class ai.platon.pulsar.protocol.browser.emulator.impl.BrowserEmulatorImplBase
createResponse, createResponseWithDatum, getImmutableConfig, getResponseHandler, isActive -
Methods inherited from class ai.platon.pulsar.common.event.AbstractEventEmitter
getListeners -
Methods inherited from class ai.platon.pulsar.common.event.EventEmitter
count, emit, emit, emit, emit, emit1, emit1, emit1, emit1, hasListeners, hasNormalListeners, hasSuspendListeners, listeners, listeners, normalListeners, normalListeners, off, off, off, off, off, off1, off1, off1, off1, off1, on, on, on, on, on1, on1, on1, on1, once, once, once, once1, once1, once1, suspendListeners, suspendListeners -
Methods inherited from class ai.platon.pulsar.common.config.Parameterized
getParams -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DefaultBrowserEmulator
DefaultBrowserEmulator(WebDriverPoolManager driverPoolManager, ImmutableConfig conf)
-
-
-
-