Build and Analyze App
buildLocalAppForAnalysisReturns step-by-step instructions to build and serve a local web app and open a LambdaTest tunnel to it, so its accessibility can then be scanned with analyzeAppViaTunnel. It does not build, run or scan anything itself, and never includes the access key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Port to host the app locally | |
| codebasePath | Yes | Absolute path to the codebase directory | |
| customBuildCommand | No | Custom build command (optional, e.g., npm run build) |