Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide ZAP wrapper application argument to disable headless mode #3944

Open
de-jcup opened this issue Feb 27, 2025 · 0 comments
Open

Provide ZAP wrapper application argument to disable headless mode #3944

de-jcup opened this issue Feb 27, 2025 · 0 comments
Assignees

Comments

@de-jcup
Copy link
Member

de-jcup commented Feb 27, 2025

Situation

Currently the wrapper application uses always the headless variants of the webdriver browsers.

For development / testing it is sometimes necessary to see whats going on (e.g. developing custom groovy login scripts).
To enable this we must currently change code temporary - which is cumbersome and potentially error prone.

Wanted

As a developer I want to start the ZAP wrapper application in non-headless mode as well.
In non-headless mode, the browser used by ZAP shall be "non-headless" and also the selenium parts of custom login scripts shall be "non-headless" in this case.

Solution

  • introduce command line parameter --headless which default is true
  • switch used browser (name) by Zap by this parameter
  • switch webderiver setup for script by this parameter as well
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant