ScriptOptimizerInput interface exported
Last updated: 2026-03-01T23:25:47.072Z
Metrics
LOC: 12
Complexity: 1
Params: 0
Signature
interface ScriptOptimizerInput
Summary
Input context for script optimization.
Source Code
export interface ScriptOptimizerInput {
/** The raw generated test script to optimize */
readonly script: string;
/** E2E framework used (playwright, cypress, pest) */
readonly framework: string;
/** Page URL where the test was recorded */
readonly pageUrl?: string;
/** Simplified HTML structure of the page (form elements, labels, buttons) */
readonly pageContext?: string;
/** Page title for better test descriptions */
readonly pageTitle?: string;
}
Dependencies (Outgoing)
| Target | Type |
|---|---|
| StructuredPrompt | uses |
| renderPromptBase | uses |
Impact (Incoming)
| Source | Type |
|---|---|
| getLanguageModelApi | uses |
| isAvailableViaProxy | uses |
| getLanguageModelApi | uses |
| makeSendMessage | uses |
| buildMockSession | uses |