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
Description
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.