Hi,
Problem statement: I have a bunch of selenium tests written with Javascript. I want to run the tests with zap listening to a proxy headless. Once the tests are complete, I would like to start active scan against the application url
What I have tried so far: is to run ZAP headless using /Applications/OWASP\ ZAP.app/Contents/Java/zap.sh -daemon. This does allow ZAP to listen but once the tests are run, I would like to send command to ZAP to start active scan. In order to do this, I'll have to open another terminal tab/window and send such command.
I want to avoid above situation. What is the best way to utilise my selenium tests?