Open IGoRFonin opened 7 months ago
I like the spirit of this issue! Would love to know more...
Also there is this interface that will allow you add extra options through to chromium.
@osis You do use a persistent userDataDir but it is being removed between test suites here https://github.com/TenKeyLabs/dappwright/blob/main/src/launch.ts#L32 which means that for every new one there is still some time being spent to import the wallet. Perhaps it would be nice to have an option not to remove it? Do you see any downsides on doing that?
@sirtimid we get around this by holding an instance of the wallet and only launching once across tests. You can see an example here. https://github.com/TenKeyLabs/dappwright-examples/tree/main/tests/multiple-files
Empowering through arguments.
I wan't to add some features: 1) prop: "chromium" // chrome with extra features 2) prop: chromiumContext // for extra chromium settings from 'launchPersistentContext' 3) prop: 'userDataDir' // path from custom dir without delete. It's helps save static cache between runs and run multiple chromiums 4) run browser from cached 'userDataDir' and paste only password
@osis Wait for your comments about this proposal. Otherwise, I'll just use fork