playwright/packages
João Neves 7e6e5f0706
feat: Support React forwards refs and memo (#23262)
This PR fixes the react selector behavior to support components that are
wrapped by the memo or forwardRef React builtin functions.

Previously these components couldn't be selected. This PR fixes that
behavior, enabling selecting those components.

Current behavior:
```
const Foo = memo(() => <div id="foo_component" />);
Foo.displayName = "Foo";
...
playwright.$("_react=Foo") -> undefined
```

Fixed behavior:
```
const Foo = memo(() => <div id="foo_component" />);
Foo.displayName = "Foo";
...
playwright.$("_react=Foo") -> <div id ="foo_component" />
```
2023-05-30 17:14:47 -07:00
..
html-reporter fix(html): fix the filter to respect status (#23208) 2023-05-22 15:35:19 -07:00
playwright chore: cut v1.34.0 (#23121) 2023-05-17 19:05:38 -07:00
playwright-chromium chore: cut v1.34.0 (#23121) 2023-05-17 19:05:38 -07:00
playwright-core feat: Support React forwards refs and memo (#23262) 2023-05-30 17:14:47 -07:00
playwright-ct-core chore: move transform to its own folder (for loader worker) (#23247) 2023-05-23 21:05:33 -07:00
playwright-ct-react chore: cut v1.34.0 (#23121) 2023-05-17 19:05:38 -07:00
playwright-ct-react17 chore: cut v1.34.0 (#23121) 2023-05-17 19:05:38 -07:00
playwright-ct-solid chore: cut v1.34.0 (#23121) 2023-05-17 19:05:38 -07:00
playwright-ct-svelte feat(ct): svelte partial update (#23193) 2023-05-22 13:18:56 -07:00
playwright-ct-vue chore: cut v1.34.0 (#23121) 2023-05-17 19:05:38 -07:00
playwright-ct-vue2 chore: cut v1.34.0 (#23121) 2023-05-17 19:05:38 -07:00
playwright-firefox chore: cut v1.34.0 (#23121) 2023-05-17 19:05:38 -07:00
playwright-test chore: remove output dir before each test (#23380) 2023-05-30 16:03:50 -07:00
playwright-webkit chore: cut v1.34.0 (#23121) 2023-05-17 19:05:38 -07:00
protocol/src feat(screenshot): Add customizable color option for masked elements (#23185) 2023-05-22 18:44:44 -07:00
recorder chore(internal): generate code in jsonl (#23124) 2023-05-20 10:15:33 -07:00
trace/src chore: add string attachments to trace (#22921) 2023-05-11 16:32:32 -07:00
trace-viewer chore: allow sending trace URLs over stdin (#23288) 2023-05-25 15:38:47 -07:00
web chore(internal): generate code in jsonl (#23124) 2023-05-20 10:15:33 -07:00
.eslintrc-with-ts-config.js lint: prevent object string concatenation (#23172) 2023-05-19 15:17:43 -07:00
.eslintrc.js lint: prevent object string concatenation (#23172) 2023-05-19 15:17:43 -07:00