fix(core): update

This commit is contained in:
2020-06-01 20:19:25 +00:00
parent 2e95f1db7f
commit 4ee936035c
10 changed files with 3024 additions and 1022 deletions

View File

@ -22,6 +22,13 @@ tap.test('should produce a valid screenshot', async tools => {
expect(result.buffer).to.be.instanceOf(Buffer);
});
tap.test('should evalute something in the browser', async () => {
const result = await testSmartBrowser.evaluateOnPage('https://lossless.com', async () => {
return 'hi';
});
console.log(result);
});
tap.test('should stop the browser ', async () => {
await expect(testSmartBrowser.stop()).to.eventually.be.fulfilled;
});