-
- All Implemented Interfaces:
-
ai.platon.pulsar.crawl.fetch.driver.WebDriver,java.io.Closeable,java.lang.AutoCloseable,kotlin.Comparable
public final class ChromeDevtoolsDriver extends AbstractWebDriver
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChromeDevtoolsDriver.ShutdownHookRegistry
-
Field Summary
Fields Modifier and Type Field Description private final BrowserTypebrowserTypeprivate final Function1<String, Long>delayPolicyprivate final IntegeropenSequenceprivate final StringuserAgentprivate final BooleanenableUrlBlockingprivate final AtomicIntegersessionLostsprivate InstantlastActiveTimeprivate final BooleanisGoneprivate final BooleanisActiveprivate final StringsessionIdprivate final BrowserInstanceIdbrowserInstanceIdprivate final Integeridprivate DurationidleTimeoutprivate final BooleanisCanceledprivate final BooleanisCrashedprivate final BooleanisFreeprivate final BooleanisIdleprivate final BooleanisMockedPageSourceprivate final BooleanisNotWorkingprivate final BooleanisQuitprivate final BooleanisRetiredprivate final BooleanisWorkingprivate final Stringnameprivate ProxyEntryproxyEntryprivate final AtomicReference<AbstractWebDriver.Status>statusprivate final BooleansupportJavascriptprivate Stringurlprivate DurationwaitForTimeout
-
Constructor Summary
Constructors Constructor Description ChromeDevtoolsDriver(WebDriverSettings browserSettings, ChromeDevtoolsBrowserInstance browserInstance)
-
Method Summary
-
Methods inherited from class ai.platon.pulsar.protocol.browser.driver.cdt.ChromeDevtoolsDriver
cancel, compareTo, equals, evaluateSilently, free, hashCode, retire, startWork, waitFor -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ChromeDevtoolsDriver
ChromeDevtoolsDriver(WebDriverSettings browserSettings, ChromeDevtoolsBrowserInstance browserInstance)
-
-
Method Detail
-
getBrowserType
BrowserType getBrowserType()
-
getDelayPolicy
Function1<String, Long> getDelayPolicy()
-
getOpenSequence
final Integer getOpenSequence()
-
getUserAgent
final String getUserAgent()
-
getEnableUrlBlocking
final Boolean getEnableUrlBlocking()
-
getSessionLosts
final AtomicInteger getSessionLosts()
-
getLastActiveTime
Instant getLastActiveTime()
-
setLastActiveTime
Unit setLastActiveTime(Instant lastActiveTime)
-
getIsActive
final Boolean getIsActive()
-
getSessionId
String getSessionId()
-
getBrowserInstanceId
BrowserInstanceId getBrowserInstanceId()
-
getIdleTimeout
Duration getIdleTimeout()
-
setIdleTimeout
Unit setIdleTimeout(Duration idleTimeout)
-
getIsCanceled
Boolean getIsCanceled()
-
getIsCrashed
final Boolean getIsCrashed()
-
getIsMockedPageSource
Boolean getIsMockedPageSource()
-
getIsNotWorking
final Boolean getIsNotWorking()
-
getIsRetired
Boolean getIsRetired()
-
getIsWorking
final Boolean getIsWorking()
-
getProxyEntry
final ProxyEntry getProxyEntry()
-
setProxyEntry
final Unit setProxyEntry(ProxyEntry proxyEntry)
-
getStatus
final AtomicReference<AbstractWebDriver.Status> getStatus()
-
getSupportJavascript
Boolean getSupportJavascript()
-
getWaitForTimeout
final Duration getWaitForTimeout()
-
setWaitForTimeout
final Unit setWaitForTimeout(Duration waitForTimeout)
-
setTimeouts
Unit setTimeouts(BrowserSettings driverConfig)
-
navigateTo
Unit navigateTo(String url)
-
stopLoading
Unit stopLoading()
-
currentUrl
String currentUrl()
-
pageSource
String pageSource()
-
bringToFront
Unit bringToFront()
-
-
-
-