puppeteer/packages
Ophir Back e3d69ec554
feat(page): Adding support for referrerPolicy in page.goto (#9561)
Issue: #9394

**What kind of change does this PR introduce?**

Feature - Added support of the `referrerPolicy` parameter (from CDP's
`Page.navigate`) to Puppeteer's `page.goto`.

**Did you add tests for your changes?**

No, currently it has no meaning that isn't browser implementation based,
which might get broken in the future. If there are suggestions to tests,
please let me know so I'll add them.

**If relevant, did you update the documentation?**
Yes, the documentation of the `goto` method has been updated.

**Summary**
I wanted to contribute to this project, which I used for testing on our
environment and saw issue #9394, so I decided to resolve it :)

**Does this PR introduce a breaking change?**
No. I added the `referrerPolicy` as an optional parameter, which will
use the HTTP header `Referrer-Policy` if not provided (much like the
`referer` parameter) so it will not interfere.

Co-authored-by: Ophir Back <ophir.back@broadcom.com>
2023-01-23 11:11:20 +00:00
..
ng-schematics chore(deps): Bump @angular-devkit/schematics from 15.1.1 to 15.1.2 (#9559) 2023-01-23 09:41:39 +01:00
puppeteer chore: release main (#9495) 2023-01-12 08:21:09 +01:00
puppeteer-core feat(page): Adding support for referrerPolicy in page.goto (#9561) 2023-01-23 11:11:20 +00:00
testserver chore(deps): Bump ws from 8.10.0 to 8.11.0 (#9412) 2022-12-14 14:55:17 +00:00