puppeteer/src
Alex Rudenko 6f81b23728 fix: address flakiness in frame handling (#8688)
When we attach to a frame, we send a call to get
the page frame tree from CDP. Based on the tree data
we look up the parent frame if parentId is provided.
The problem is that the call to get the page frame
tree could take arbitrary time and the calls for the
parent and child frames might happen at the same time.
So the situation where the frame tree for the child frame
is resolved before the parent frame is known is fairly
common.

This PR addresses the issue by awaiting for the parent
frame id before attempting to register a child frame.
2022-08-02 13:18:47 +00:00
..
common fix: address flakiness in frame handling (#8688) 2022-08-02 13:18:47 +00:00
generated chore(main): release 15.5.0 (#8683) 2022-07-21 14:25:48 +00:00
node feat: use CDP's auto-attach mechanism (#8520) 2022-08-02 13:18:07 +00:00
templates feat: export public types only (#8584) 2022-06-27 09:24:23 +02:00
compat.d.ts chore: use Google's TS style guide's format config (#8542) 2022-06-22 15:25:44 +02:00
constants.ts feat: export public types only (#8584) 2022-06-27 09:24:23 +02:00
environment.ts feat: export public types only (#8584) 2022-06-27 09:24:23 +02:00
initializePuppeteer.ts feat: export public types only (#8584) 2022-06-27 09:24:23 +02:00
puppeteer-core.ts feat: export public types only (#8584) 2022-06-27 09:24:23 +02:00
puppeteer.ts fix: expose a RemoteObject getter (#8642) 2022-07-07 13:04:28 +00:00
revisions.ts feat(chromium): roll to Chromium 105.0.5173.0 (r1022525) (#8682) 2022-07-21 13:16:47 +00:00
tsconfig.cjs.json chore: use Google's TS style guide's format config (#8542) 2022-06-22 15:25:44 +02:00
tsconfig.esm.json chore: use Google's TS style guide's format config (#8542) 2022-06-22 15:25:44 +02:00
types.ts feat: use CDP's auto-attach mechanism (#8520) 2022-08-02 13:18:07 +00:00