Use wrapper script for Playwright to set browser path
This commit is contained in:
parent
5c50ce2cf9
commit
1438267af6
1 changed files with 1 additions and 1 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Reference in a new issue