How to run protractor from webapp?
1 answer
You can upload the file to your server (and save it), which then runs the test as usual protractor conf.js
.
If you don't have a backend that can run the protractor via node, then you need to unlock your own copy of Protractor, cross out any node APIs and do something similar to https://github.com/angular/protractor/blob/master /lib/runnerCli.js , but that would be messy.
+3
source to share