Commit 743f603
* fix(playwright): replace constructor.name checks with stable public API (#5559)
Playwright 1.60 switched to an esbuild bundle which silently renames
internal classes (e.g. Locator → _Locator), breaking all constructor.name
checks. Replace them with duck-typing on stable public-API methods:
Page/Frame expose url(), Locator exposes innerText(), FrameLocator exposes
neither. Also adds a regression test that calls I.see() without an explicit
context inside a CSS within() block — the exact path that timed out.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* ci: trigger GitHub Actions after base branch change
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 222f360 commit 743f603
2 files changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2683 | 2683 | | |
2684 | 2684 | | |
2685 | 2685 | | |
2686 | | - | |
| 2686 | + | |
2687 | 2687 | | |
2688 | 2688 | | |
2689 | 2689 | | |
| |||
3420 | 3420 | | |
3421 | 3421 | | |
3422 | 3422 | | |
3423 | | - | |
| 3423 | + | |
3424 | 3424 | | |
3425 | 3425 | | |
3426 | 3426 | | |
| |||
4359 | 4359 | | |
4360 | 4360 | | |
4361 | 4361 | | |
4362 | | - | |
| 4362 | + | |
| 4363 | + | |
| 4364 | + | |
4363 | 4365 | | |
4364 | 4366 | | |
4365 | 4367 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1659 | 1659 | | |
1660 | 1660 | | |
1661 | 1661 | | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
1662 | 1669 | | |
1663 | 1670 | | |
1664 | 1671 | | |
| |||
0 commit comments