Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Add browser.fork function that returns a promise #3892

Open
@juliemr

Description

@juliemr

This promise will resolve to the new browser instance, so it can be used nicely with await and in a control-flow-less world:

TODO - think of a better name.

let b2 = await browser.forkAndInitializeNewBrowserInstance();
await b2.get('example.com');
// continue to use b2 as a browser instance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions