17fd10b50f
Fixes: - Bug: page.screenshotWithAccessibilityLabels was called as method on page, fixed to standalone function call - Removed duplicate 'debugging playwriter issues' section at end of file (identical to the detailed one earlier) - Softened waitForTimeout rule: short waits (1-2s) now acknowledged as acceptable for non-deterministic events like popups/animations - Fixed download example path from /tmp/ to ./ - Added note that bare 'page' in examples is for brevity, real automation should use state.myPage - Consolidated diff behavior explanation to one place in snapshot section (was repeated 3 times with slight inconsistencies) - Trimmed redundant 'prefer snapshots' advice to reference the dedicated 'choosing between snapshot methods' section - Consolidated cmd+click popup advice (was in both mistakes and common patterns with duplicate examples) - Cross-referenced iframe approaches: frameLocator for locator chaining, contentFrame for Frame objects needed by snapshot() - Clarified require is the only option in sandbox (ESM import unavailable)