Update
This commit is contained in:
@@ -50,7 +50,7 @@ ### Supported Parameters (mapped to Browsershot capabilities)
|
||||
- `block_cookie_banners`: true/false - Uses cookie banner blocking patterns
|
||||
- `block_trackers`: true/false - Uses tracker blocking patterns
|
||||
- `delay`: Wait time before capture in milliseconds (via `setDelay()`)
|
||||
- `wait_until_network_idle`: Wait for network activity to cease (via `waitUntilNetworkIdle()`)
|
||||
- Network idle waiting is always enabled for optimal rendering (no parameter needed)
|
||||
|
||||
**Screenshot Capture**:
|
||||
|
||||
@@ -177,7 +177,7 @@ ### Browsershot Configuration
|
||||
->windowSize($width, $height)
|
||||
->setScreenshotType('webp', $quality) // Always WebP format
|
||||
->setDelay($delayInMs)
|
||||
->waitUntilNetworkIdle()
|
||||
// Network idle waiting is always enabled
|
||||
->timeout($timeoutInSeconds);
|
||||
|
||||
// Apply EasyList filters if block_ads is true
|
||||
@@ -193,7 +193,7 @@ ### Browsershot Configuration
|
||||
// HTML crawling configuration with EasyList filtering
|
||||
$browsershot = Browsershot::url($url)
|
||||
->setDelay($delayInMs)
|
||||
->waitUntilNetworkIdle()
|
||||
// Network idle waiting is always enabled
|
||||
->timeout($timeoutInSeconds);
|
||||
|
||||
// Apply EasyList filters if block_ads is true
|
||||
|
||||
Reference in New Issue
Block a user