0.0.8 • Published 4 years ago
@bluenova/otto-browser v0.0.8
Otto Browser Runtime
Core runtime for running otto actions in a Browser environment.
Installation
npm install @bluenova/otto-browseryarn add @bluenova/otto-browserUsage
import * as ottoBrowser from '@bluenova/otto-browser';
async function doSomethingInBrowser() {
const results = await ottoBrowser.run(
{ runTime: 'chromium' },
[
// Add actions you want to run here
]
);
console.log(results);
}
doSomethingInBrowser();