@serenity-js/webdriverio
Version:
Adapter that integrates @serenity-js/web with the latest stable version of WebdriverIO, enabling Serenity/JS reporting and using the Screenplay Pattern to write web and mobile test scenarios
22 lines • 843 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.WebdriverIOFrameworkAdapterFactory = void 0;
const WebdriverIOFrameworkAdapter_js_1 = require("./WebdriverIOFrameworkAdapter.js");
/**
* @group Test Runner Adapter
*/
class WebdriverIOFrameworkAdapterFactory {
serenity;
loader;
cwd;
constructor(serenity, loader, cwd) {
this.serenity = serenity;
this.loader = loader;
this.cwd = cwd;
}
init(cid, config, specs, capabilities, reporter) {
return new WebdriverIOFrameworkAdapter_js_1.WebdriverIOFrameworkAdapter(this.serenity, this.loader, this.cwd, cid, config, specs, capabilities, reporter).init();
}
}
exports.WebdriverIOFrameworkAdapterFactory = WebdriverIOFrameworkAdapterFactory;
//# sourceMappingURL=WebdriverIOFrameworkAdapterFactory.js.map