Use wrapper script for Playwright to set browser path

This commit is contained in:
John Mizerek 2026-02-12 21:54:02 -08:00
parent 5c50ce2cf9
commit 1438267af6

View file

@ -59,7 +59,7 @@
<!--- Use Playwright for JS-rendered content --->
<cfset playwrightOutput = "">
<cfexecute name="node" arguments="/opt/playwright/render.js '#targetUrl#' 4000" timeout="90" variable="playwrightOutput" />
<cfexecute name="/opt/playwright/run.sh" arguments="'#targetUrl#' 4000" timeout="90" variable="playwrightOutput" />
<cfif NOT len(trim(playwrightOutput))>
<cfthrow message="Playwright returned empty response">