You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Use the snapshot to find elements, then interact using aria-ref selector
109
109
awaitpage.locator('aria-ref=e5').click()
110
110
111
-
// Labels auto-hide after 5 seconds, or remove manually:
111
+
// Labels auto-hide after 30 seconds, or remove manually:
112
112
awaithideAriaRefLabels({ page })
113
113
```
114
114
115
-
**Important:** Labels auto-hide after 5 seconds to prevent stale labels. If the page HTML changes (navigation, dynamic content), call `showAriaRefLabels()` again to get fresh labels matching the current DOM.
115
+
**Important:** Labels auto-hide after 30 seconds to prevent stale labels. If the page HTML changes (navigation, dynamic content), call `showAriaRefLabels()` again to get fresh labels matching the current DOM.
116
116
117
117
**Features:**
118
118
-**Role filtering** - Only shows labels for interactive elements (buttons, links, inputs, etc.)
119
119
-**Visibility detection** - Skips elements covered by modals or overlays
120
120
-**Overlap prevention** - Skips labels that would overlap with already-placed ones
121
121
-**Color-coded by type** - Warm color scheme helps distinguish element types
122
-
-**Auto-hide** - Labels disappear after 5 seconds to prevent stale overlays
122
+
-**Auto-hide** - Labels disappear after 30 seconds to prevent stale overlays
Copy file name to clipboardExpand all lines: playwriter/CHANGELOG.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,12 @@
1
1
# Changelog
2
2
3
+
## 0.0.39
4
+
5
+
### Patch Changes
6
+
7
+
-**Fix icon not updating on WS disconnect**: `maintainLoop` now ensures tabs transition to 'connecting' state when WebSocket is not connected, fixing edge cases where `handleClose` wasn't called
8
+
-**Increased aria-labels auto-hide timeout**: Labels now auto-hide after 30 seconds instead of 5 seconds
**showAriaRefLabels**- overlay Vimium-style visual labels on interactive elements. Usefulfor taking screenshots where you can see element references. Labels auto-hide after 5seconds. Call again if page HTML changes to get fresh labels.
209
+
**showAriaRefLabels**- overlay Vimium-style visual labels on interactive elements. Usefulfor taking screenshots where you can see element references. Labels auto-hide after 30seconds. Call again if page HTML changes or scrolls to get fresh labels. Use a timeout of10 seconds at least.
0 commit comments