-
- All Implemented Interfaces:
-
ai.platon.pulsar.crawl.JsEventHandler
public final class AmazonSearcherJsEventHandler extends AbstractJsEventHandler
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringkeywordprivate final List<AmazonSuggestion>suggestionsprivate LongdelayMillisprivate Booleanverbose
-
Constructor Summary
Constructors Constructor Description AmazonSearcherJsEventHandler(String keyword, List<AmazonSuggestion> suggestions)
-
Method Summary
Modifier and Type Method Description final StringgetKeyword()final List<AmazonSuggestion>getSuggestions()LonggetDelayMillis()UnitsetDelayMillis(Long delayMillis)BooleangetVerbose()UnitsetVerbose(Boolean verbose)ObjectonBeforeComputeFeature(WebPage page, WebDriver driver)-
-
Constructor Detail
-
AmazonSearcherJsEventHandler
AmazonSearcherJsEventHandler(String keyword, List<AmazonSuggestion> suggestions)
-
-
Method Detail
-
getKeyword
final String getKeyword()
-
getSuggestions
final List<AmazonSuggestion> getSuggestions()
-
getDelayMillis
Long getDelayMillis()
-
setDelayMillis
Unit setDelayMillis(Long delayMillis)
-
getVerbose
Boolean getVerbose()
-
setVerbose
Unit setVerbose(Boolean verbose)
-
onBeforeComputeFeature
Object onBeforeComputeFeature(WebPage page, WebDriver driver)
-
-
-
-