mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
fix(screenshots): Change default for SCREENSHOT_PLAYWRIGHT_WAIT_EVENT to domcontentloaded (#34114)
This commit is contained in:
@@ -797,7 +797,7 @@ SCREENSHOT_WAIT_FOR_ERROR_MODAL_INVISIBLE = 5
|
||||
# Event that Playwright waits for when loading a new page
|
||||
# Possible values: "load", "commit", "domcontentloaded", "networkidle"
|
||||
# Docs: https://playwright.dev/python/docs/api/class-page#page-goto-option-wait-until
|
||||
SCREENSHOT_PLAYWRIGHT_WAIT_EVENT = "load"
|
||||
SCREENSHOT_PLAYWRIGHT_WAIT_EVENT = "domcontentloaded"
|
||||
# Default timeout for Playwright browser context for all operations
|
||||
SCREENSHOT_PLAYWRIGHT_DEFAULT_TIMEOUT = int(
|
||||
timedelta(seconds=60).total_seconds() * 1000
|
||||
|
||||
Reference in New Issue
Block a user