puppeteer/docs
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
..
api feat(page): Adding support for referrerPolicy in page.goto (#9561) 2023-01-23 11:11:20 +00:00
assets chore: rename image assets 2020-06-02 15:24:25 +02:00
guides docs: various doc improvements (#9396) 2022-12-09 13:57:39 +01:00
chromium-support.md chore: release main (#9395) 2022-12-16 14:21:28 +01:00
contributing.md feat(chromium): roll to Chromium 109.0.5412.0 (r1069273) (#9364) 2022-12-07 14:54:00 +01:00
faq.md docs: improve docs (#9179) 2022-10-28 08:49:28 +02:00
index.md docs: Update obsolete example (#9120) 2023-01-17 16:04:48 +01:00
troubleshooting.md feat: Default to not downloading if explicit browser path is set (#9440) 2022-12-20 14:50:02 +01:00