Compile a drag-and-drop DSL script into runnable code.

Compiles a DSL script into Playwright or Puppeteer TypeScript and returns the code with any warnings. Nothing is saved and no browser is opened: it only shows what the script would become.

post/v1/dsl/compile

Request

  • Base URL: http://127.0.0.1:10108
  • URL: http://127.0.0.1:10108/v1/dsl/compile
  • Auth: HTTP bearer

Request body

dslobject required

DSL script body

targetstring required

Response

The generated TypeScript, with compiler warnings.

codestring required
nodeCountinteger required
targetstring required
warningsstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.