@avalix/chroma 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -104,7 +104,7 @@ const customTest = createWalletTest({
|
|
|
104
104
|
customPath: './custom-extension', // Optional: path to custom extension
|
|
105
105
|
downloadUrl: 'https://...' // Optional: custom download URL
|
|
106
106
|
},
|
|
107
|
-
headless:
|
|
107
|
+
headless: true, // Optional: run in headless mode
|
|
108
108
|
slowMo: 150 // Optional: slow motion delay in ms (default: 150)
|
|
109
109
|
})
|
|
110
110
|
```
|
package/dist/index.js
CHANGED
|
@@ -68,6 +68,7 @@ function createWalletTest(options = {}) {
|
|
|
68
68
|
const extensionPath = await getExtensionPath(walletType, finalWalletConfig);
|
|
69
69
|
const context = await chromium.launchPersistentContext("", {
|
|
70
70
|
headless,
|
|
71
|
+
channel: "chromium",
|
|
71
72
|
args: [`--load-extension=${extensionPath}`, `--disable-extensions-except=${extensionPath}`],
|
|
72
73
|
slowMo
|
|
73
74
|
});
|