Tier/scenario-aware Playwright capability guidance to keep prompts focused instead of dumping an undifferentiated capability list.
Members
(inner, constant) ADVANCED_PLAYWRIGHT_PATTERNS
Regexes that indicate the test uses advanced Playwright patterns where assertion enhancement should be conservative to avoid breaking orchestration.
Methods
(static) buildCapabilityCoverageBlock(optsopt) → {string}
Build a capability block tuned for prompt purpose and model tier.
Parameters:
| Name | Type | Attributes | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
object |
<optional> |
Properties
|
Returns:
- Type
- string
(static) isAdvancedPlaywrightScenario(playwrightCode) → {boolean}
Returns true when code includes advanced Playwright primitives that are sensitive to assertion enhancer rewrites.
Parameters:
| Name | Type | Description |
|---|---|---|
playwrightCode |
string |
Returns:
- Type
- boolean