Class WebDriverHttpFetcherConfig

java.lang.Object
com.norconex.collector.http.fetch.impl.webdriver.WebDriverHttpFetcherConfig
All Implemented Interfaces:
IXMLConfigurable

public class WebDriverHttpFetcherConfig extends Object implements IXMLConfigurable

Configuration for WebDriverHttpFetcher.

Since:
3.0.0
Author:
Pascal Essiembre
See Also:
  • Constructor Details

    • WebDriverHttpFetcherConfig

      public WebDriverHttpFetcherConfig()
  • Method Details

    • getBrowser

      public Browser getBrowser()
    • setBrowser

      public void setBrowser(Browser driverName)
    • getDriverPath

      public Path getDriverPath()
    • setDriverPath

      public void setDriverPath(Path driverPath)
    • getBrowserPath

      public Path getBrowserPath()
    • setBrowserPath

      public void setBrowserPath(Path binaryPath)
    • getHttpSnifferConfig

      public HttpSnifferConfig getHttpSnifferConfig()
    • setHttpSnifferConfig

      public void setHttpSnifferConfig(HttpSnifferConfig httpSnifferConfig)
    • getCapabilities

      public org.openqa.selenium.MutableCapabilities getCapabilities()
    • getArguments

      public List<String> getArguments()
      Gets optional arguments passed to the browser if it supports arguments.
      Returns:
      arguments
      Since:
      3.1.0
    • getWindowSize

      public Dimension getWindowSize()
    • setWindowSize

      public void setWindowSize(Dimension windowSize)
    • getEarlyPageScript

      public String getEarlyPageScript()
    • setEarlyPageScript

      public void setEarlyPageScript(String initScript)
    • getLatePageScript

      public String getLatePageScript()
    • setLatePageScript

      public void setLatePageScript(String pageScript)
    • 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

      public WebDriverHttpFetcherConfig.WaitElementType getWaitForElementType()
    • setWaitForElementType

      public void setWaitForElementType(WebDriverHttpFetcherConfig.WaitElementType waitForElementType)
    • getWaitForElementSelector

      public String getWaitForElementSelector()
    • setWaitForElementSelector

      public void setWaitForElementSelector(String waitForElementSelector)
    • getWaitForElementTimeout

      public long getWaitForElementTimeout()
    • setWaitForElementTimeout

      public void setWaitForElementTimeout(long waitForElementTimeout)
    • getThreadWait

      public long getThreadWait()
    • setThreadWait

      public void setThreadWait(long threadWait)
    • getRemoteURL

      public URL getRemoteURL()
    • setRemoteURL

      public void setRemoteURL(URL remoteURL)
    • loadFromXML

      public void loadFromXML(XML xml)
      Specified by:
      loadFromXML in interface IXMLConfigurable
    • saveToXML

      public void saveToXML(XML xml)
      Specified by:
      saveToXML in interface IXMLConfigurable
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object