Class DefaultBrowserFactory
-
- All Implemented Interfaces:
-
ai.platon.pulsar.skeleton.crawl.fetch.driver.BrowserFactory
public final class DefaultBrowserFactory extends AbstractBrowserFactory
-
-
Constructor Summary
Constructors Constructor Description DefaultBrowserFactory()
-
Method Summary
Modifier and Type Method Description Browserlaunch(BrowserId browserId)Launch a browser with the given browser id, the browser id is used to identify the browser instance. Browserlaunch(BrowserId browserId, LauncherOptions launcherOptions, ChromeOptions launchOptions)Launch a browser with the given browser id, the browser id is used to identify the browser instance. Browserconnect(BrowserType browserType, Integer port, BrowserSettings settings)-
Methods inherited from class ai.platon.pulsar.protocol.browser.impl.AbstractBrowserFactory
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
Browser launch(BrowserId browserId)
Launch a browser with the given browser id, the browser id is used to identify the browser instance.
-
launch
@Synchronized() Browser launch(BrowserId browserId, LauncherOptions launcherOptions, ChromeOptions launchOptions)
Launch a browser with the given browser id, the browser id is used to identify the browser instance.
-
connect
@Synchronized() Browser connect(BrowserType browserType, Integer port, BrowserSettings settings)
-
-
-
-