Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

[Feature Request] Add resetPage & resetBrowser(/context) apis #180

@Bnaya

Description

@Bnaya

First, i want to thank you for this amazing library!

jest-puppeteer have apis to reset the page and browser for the current environment.
https://github.com/smooth-code/jest-puppeteer#globaljestpuppeteerresetpage

That's very helpful, if for example i want new page for each test.
So i can do something like:

beforeEach(async () => {
  await jestPuppeteer.resetPage()
});

It will be very helpful to have it also for jest-playwright

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions