fix(core): update
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import * as plugins from './smartbrowser.plugins';
|
||||
import * as plugins from './smartbrowser.plugins.js';
|
||||
|
||||
import * as interfaces from './interfaces';
|
||||
import * as interfaces from './interfaces/index.js';
|
||||
|
||||
/**
|
||||
* SmartBrowser
|
||||
@ -47,7 +47,7 @@ export class SmartBrowser {
|
||||
});
|
||||
const screenshotBuffer = await page.screenshot({
|
||||
encoding: 'binary',
|
||||
});
|
||||
}) as Buffer;
|
||||
await page.close();
|
||||
return {
|
||||
name: pageId,
|
||||
|
@ -1 +1 @@
|
||||
export * from './interfaces.screenshotresult';
|
||||
export * from './interfaces.screenshotresult.js';
|
||||
|
Reference in New Issue
Block a user