Class DefaultBrowserFactory
-
- All Implemented Interfaces:
-
ai.platon.pulsar.skeleton.workflow.fetch.driver.BrowserFactory
public final class DefaultBrowserFactory extends AbstractBrowserFactory
-
-
Constructor Summary
Constructors Constructor Description DefaultBrowserFactory(ImmutableConfig conf)DefaultBrowserFactory(ImmutableConfig conf, BrowserSettings settings)
-
Method Summary
Modifier and Type Method Description Browserlaunch(BrowserId browserId, LauncherOptions launcherOptions, ChromeOptions launchOptions)Browserconnect(BrowserType browserType, Integer port, BrowserSettings settings)-
Methods inherited from class ai.platon.pulsar.protocol.browser.impl.AbstractBrowserFactory
getConf, getSettings, launch, launch, launch, launchDefaultBrowser, launchNextSequentialBrowser, launchPrototypeBrowser, launchRandomTempBrowser, launchSystemDefaultBrowser -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
launch
@Synchronized() Browser launch(BrowserId browserId, LauncherOptions launcherOptions, ChromeOptions launchOptions)
-
connect
@Synchronized() Browser connect(BrowserType browserType, Integer port, BrowserSettings settings)
-
-
-
-