Class WebDriverHttpFetcherConfig
java.lang.Object
com.norconex.collector.http.fetch.impl.webdriver.WebDriverHttpFetcherConfig
- All Implemented Interfaces:
IXMLConfigurable
Configuration for WebDriverHttpFetcher.
- Since:
- 3.0.0
- Author:
- Pascal Essiembre
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets optional arguments passed to the browser if it supports arguments.org.openqa.selenium.MutableCapabilitieslonglonglonglonglonginthashCode()voidloadFromXML(XML xml) voidvoidsetBrowser(Browser driverName) voidsetBrowserPath(Path binaryPath) voidsetDriverPath(Path driverPath) voidsetEarlyPageScript(String initScript) voidsetHttpSnifferConfig(HttpSnifferConfig httpSnifferConfig) voidsetImplicitlyWait(long implicitlyWait) voidsetLatePageScript(String pageScript) voidsetPageLoadTimeout(long pageLoadTimeout) voidsetRemoteURL(URL remoteURL) voidsetScriptTimeout(long scriptTimeout) voidsetThreadWait(long threadWait) voidsetWaitForElementSelector(String waitForElementSelector) voidsetWaitForElementTimeout(long waitForElementTimeout) voidsetWaitForElementType(WebDriverHttpFetcherConfig.WaitElementType waitForElementType) voidsetWindowSize(Dimension windowSize) toString()
-
Constructor Details
-
WebDriverHttpFetcherConfig
public WebDriverHttpFetcherConfig()
-
-
Method Details
-
getBrowser
-
setBrowser
-
getDriverPath
-
setDriverPath
-
getBrowserPath
-
setBrowserPath
-
getHttpSnifferConfig
-
setHttpSnifferConfig
-
getCapabilities
public org.openqa.selenium.MutableCapabilities getCapabilities() -
getArguments
Gets optional arguments passed to the browser if it supports arguments.- Returns:
- arguments
- Since:
- 3.1.0
-
getWindowSize
-
setWindowSize
-
getEarlyPageScript
-
setEarlyPageScript
-
getLatePageScript
-
setLatePageScript
-
getPageLoadTimeout
public long getPageLoadTimeout() -
setPageLoadTimeout
public void setPageLoadTimeout(long pageLoadTimeout) -
getImplicitlyWait
public long getImplicitlyWait() -
setImplicitlyWait
public void setImplicitlyWait(long implicitlyWait) -
getScriptTimeout
public long getScriptTimeout() -
setScriptTimeout
public void setScriptTimeout(long scriptTimeout) -
getWaitForElementType
-
setWaitForElementType
-
getWaitForElementSelector
-
setWaitForElementSelector
-
getWaitForElementTimeout
public long getWaitForElementTimeout() -
setWaitForElementTimeout
public void setWaitForElementTimeout(long waitForElementTimeout) -
getThreadWait
public long getThreadWait() -
setThreadWait
public void setThreadWait(long threadWait) -
getRemoteURL
-
setRemoteURL
-
loadFromXML
- Specified by:
loadFromXMLin interfaceIXMLConfigurable
-
saveToXML
- Specified by:
saveToXMLin interfaceIXMLConfigurable
-
equals
-
hashCode
public int hashCode() -
toString
-