current viewpoint screenshot and scrolling n screenshot (#2716)
Co-authored-by: lawyzheng <lawyzheng1106@gmail.com>
This commit is contained in:
@@ -30,6 +30,8 @@ function WorkflowRunParameters() {
|
||||
const proxyLocation = location.state
|
||||
? (location.state.proxyLocation as ProxyLocation)
|
||||
: null;
|
||||
const maxScreenshotScrollingTimes =
|
||||
location.state?.maxScreenshotScrollingTimes ?? null;
|
||||
|
||||
const webhookCallbackUrl = location.state
|
||||
? (location.state.webhookCallbackUrl as string)
|
||||
@@ -109,6 +111,10 @@ function WorkflowRunParameters() {
|
||||
ProxyLocation.Residential,
|
||||
webhookCallbackUrl:
|
||||
webhookCallbackUrl ?? workflow.webhook_callback_url ?? "",
|
||||
maxScreenshotScrollingTimes:
|
||||
maxScreenshotScrollingTimes ??
|
||||
workflow.max_screenshot_scrolling_times ??
|
||||
null,
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user