Get iframe context from spec
get_iframe_contextExtract iframe locator and frame operations from spec files to resolve iframe-related failures. Supplies deterministic frame structure so the fixer never guesses the selector.
Instructions
Extract iframe selector and frame-related operations from a spec file and its page object. Returns the iframe locator string, count of frame operations, and enforcement reminder. Call this for any failure whose context is 'iframe' to provide deterministic frame structure before calling analyze_and_fix_selector — the model must never guess the iframe selector.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| specFilePath | Yes | Absolute path to the spec file |