LazyLoadConfig class

Configuration for lazy loading handling

Constructors

LazyLoadConfig.new({bool handleLazyLoading = true, bool useHeadlessBrowser = true, int maxScrollDepth = 10, double scrollStepSize = 1.0, int scrollDelayMs = 500, int maxWaitTimeMs = 30000, bool clickLoadMoreButtons = true, bool waitForNetworkIdle = true, bool waitForDomContentLoaded = true})
Creates a new LazyLoadConfig
const
LazyLoadConfig.aggressive()
Creates a LazyLoadConfig for aggressive lazy loading
factory
LazyLoadConfig.none()
Creates a LazyLoadConfig for no lazy loading
factory

Properties

clickLoadMoreButtons bool
Whether to click on load more buttons
final
handleLazyLoading bool
Whether to handle lazy loading
final
hashCode int
The hash code for this object.
no setterinherited
maxScrollDepth int
The maximum scroll depth (in viewport heights)
final
maxWaitTimeMs int
The maximum wait time in milliseconds
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollDelayMs int
The scroll delay in milliseconds
final
scrollStepSize double
The scroll step size (in viewport heights)
final
useHeadlessBrowser bool
Whether to use a headless browser for lazy loading
final
waitForDomContentLoaded bool
Whether to wait for DOM content to be loaded
final
waitForNetworkIdle bool
Whether to wait for network idle
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited