I m having trouble running ZAP scan on an existing selenium test suite (in java) that we currently run on a Windows node against Chrome browser.
If I have a local ZAP instance on the same windows node, the tests and the scan is running fine.
However, I want to use ZAP docker instance to avoid managing the version of local zap instance.
With ZAP docker instance - I see that the tests are being launched but most (if not all) are failing with timeout issues. I have already tried increasing the timeout by 3 times but it is still failing.
org.openqa.selenium.NoSuchElementException: Timed out after 30 seconds. Unable to locate the element
Am I missing any specific configuration to get it working or is it recommended to have ZAP running on the same host where the tests are running?