Reputation: 1
I am developing an application (angular7 and spring boot), which is web testing tool. e.g. We need to create the Test script using the UI. Then, we can execute this script by just clicking on execute button with different technologies e.g. selenium, OATS, Protractor.
In this application I want to integrate the Protractor. I have created a config.js and spec.js file. So, Issue I am facing are:
Solution I have tried:
const Launcher = require("protractor/built/launcher");
Launcher.init('path/to/conf');
But its not working. error is :
Module parse failed: Unexpected character '#' (1:0)
Can you suggest me any way?
Upvotes: 0
Views: 116