This PR updates Puppeteer's version to 22.10.0 which has support for chrome version 125.
Relevant Technical Choices
Fixed missed network events by using Target.setAutoAttach to flatten the target tree.
Introduce class method 'getJSCookies' which gets cookies set by JS in frames.
Introduce pageFrames attribute to look up parents of any frame that has been removed before the data parsing step. Cookies for these frames will be attributed to the closest ancestor present while parsing network data.
Previously used ‘id’ attribute and ‘url’ method of Frame class in Puppeteer. ‘id’ has been deprecated in version 22.10.0. Target.getTargets will be the query to find URLs of the frames whose id is known from network traffic events.
Individual eventListener functions were added.
Testing Instructions
No new UI or functionality changes were added in this PR.
Checklist
[x] I have thoroughly tested this code to the best of my abilities.
[x] I have reviewed the code myself before requesting a review.
[x] This code is covered by unit tests to verify that it works as intended.
[x] The QA of this PR is done by a member of the QA team (to be checked by QA).
Description
This PR updates Puppeteer's version to 22.10.0 which has support for chrome version 125.
Relevant Technical Choices
pageFrames
attribute to look up parents of any frame that has been removed before the data parsing step. Cookies for these frames will be attributed to the closest ancestor present while parsing network data.Testing Instructions
No new UI or functionality changes were added in this PR.
Checklist
Fixes #628