@rapitest/rapi-api
v4.0.0
Published
Rapi API for NodeJS provides user level api using rapi runner.
Downloads
18
Maintainers
Readme
rapi-api-nodejs
Quick Start
import { createRapi, Browser, ConfigBuilder } from "rapi-api";
const config = new ConfigBuilder()
.setTestSuites(["path/to/testSuites"])
.addBrowser("http://url.to.selenium.server", { browserName: "firefox" })
.build();
const rapi = createRapi("path/to/rapi/runner", config);
const report = rapi.run();
console.log(report);