mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-17 02:39:40 +00:00
use run_id for fullpage screenshot flag (#2717)
This commit is contained in:
parent
775da18878
commit
15573836ce
2 changed files with 8 additions and 4 deletions
|
@ -310,7 +310,8 @@ class Block(BaseModel, abc.ABC):
|
|||
screenshot = await browser_state.take_fullpage_screenshot(
|
||||
use_playwright_fullpage=app.EXPERIMENTATION_PROVIDER.is_feature_enabled_cached(
|
||||
"ENABLE_PLAYWRIGHT_FULLPAGE",
|
||||
str(organization_id),
|
||||
workflow_run_id,
|
||||
properties={"organization_id": str(organization_id)},
|
||||
)
|
||||
)
|
||||
if screenshot:
|
||||
|
@ -580,7 +581,8 @@ class BaseTaskBlock(Block):
|
|||
screenshot = await browser_state.take_fullpage_screenshot(
|
||||
use_playwright_fullpage=app.EXPERIMENTATION_PROVIDER.is_feature_enabled_cached(
|
||||
"ENABLE_PLAYWRIGHT_FULLPAGE",
|
||||
str(organization_id),
|
||||
workflow_run_id,
|
||||
properties={"organization_id": str(organization_id)},
|
||||
)
|
||||
)
|
||||
if screenshot:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue