@eko-ai/eko-nodejs 2.1.7-alpha.6 → 2.1.7
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 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -127,7 +127,7 @@ class BrowserAgent extends BaseBrowserLabelsAgent {
|
|
|
127
127
|
}
|
|
128
128
|
async execute_script(agentContext, func, args) {
|
|
129
129
|
let page = await this.currentPage();
|
|
130
|
-
return await page.evaluate(func,
|
|
130
|
+
return await page.evaluate(func, args);
|
|
131
131
|
}
|
|
132
132
|
async open_url(agentContext, url) {
|
|
133
133
|
let browser_context = await this.getBrowserContext();
|