naftiko: 1.0.0-alpha2 info: label: ZAP API — selenium description: 'ZAP API — selenium. 22 operations. Lead operation: selenium. Self-contained Naftiko capability covering one Owasp Zap business surface.' tags: - Owasp Zap - selenium created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: OWASP_ZAP_API_KEY: OWASP_ZAP_API_KEY capability: consumes: - type: http namespace: owasp-zap-selenium baseUri: http://zap description: ZAP API — selenium business capability. Self-contained, no shared references. resources: - name: JSON-selenium-action-addBrowserArgument path: /JSON/selenium/action/addBrowserArgument/ operations: - name: seleniumactionaddbrowserargument method: GET description: Adds a browser argument. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-action-launchBrowser path: /JSON/selenium/action/launchBrowser/ operations: - name: seleniumactionlaunchbrowser method: GET description: Launches a browser proxying through ZAP, for manual usage. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-action-removeBrowserArgument path: /JSON/selenium/action/removeBrowserArgument/ operations: - name: seleniumactionremovebrowserargument method: GET description: Removes a browser argument. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-action-setBrowserArgumentEnabled path: /JSON/selenium/action/setBrowserArgumentEnabled/ operations: - name: seleniumactionsetbrowserargumentenabled method: GET description: Sets whether or not a browser argument is enabled. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-action-setOptionChromeBinaryPath path: /JSON/selenium/action/setOptionChromeBinaryPath/ operations: - name: seleniumactionsetoptionchromebinarypath method: GET description: Sets the current path to Chrome binary outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-action-setOptionChromeDriverPath path: /JSON/selenium/action/setOptionChromeDriverPath/ operations: - name: seleniumactionsetoptionchromedriverpath method: GET description: Sets the current path to ChromeDriver outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-action-setOptionFirefoxBinaryPath path: /JSON/selenium/action/setOptionFirefoxBinaryPath/ operations: - name: seleniumactionsetoptionfirefoxbinarypath method: GET description: Sets the current path to Firefox binary outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-action-setOptionFirefoxDefaultProfile path: /JSON/selenium/action/setOptionFirefoxDefaultProfile/ operations: - name: seleniumactionsetoptionfirefoxdefaultprofile method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-action-setOptionFirefoxDriverPath path: /JSON/selenium/action/setOptionFirefoxDriverPath/ operations: - name: seleniumactionsetoptionfirefoxdriverpath method: GET description: Sets the current path to Firefox driver (geckodriver) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-action-setOptionIeDriverPath path: /JSON/selenium/action/setOptionIeDriverPath/ operations: - name: seleniumactionsetoptioniedriverpath method: GET description: Option no longer in effective use. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-action-setOptionLastDirectory path: /JSON/selenium/action/setOptionLastDirectory/ operations: - name: seleniumactionsetoptionlastdirectory method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-action-setOptionPhantomJsBinaryPath path: /JSON/selenium/action/setOptionPhantomJsBinaryPath/ operations: - name: seleniumactionsetoptionphantomjsbinarypath method: GET description: Option no longer in effective use. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-view-getBrowserArguments path: /JSON/selenium/view/getBrowserArguments/ operations: - name: seleniumviewgetbrowserarguments method: GET description: Gets the browser arguments. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-view-optionBrowserExtensions path: /JSON/selenium/view/optionBrowserExtensions/ operations: - name: seleniumviewoptionbrowserextensions method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-view-optionChromeBinaryPath path: /JSON/selenium/view/optionChromeBinaryPath/ operations: - name: seleniumviewoptionchromebinarypath method: GET description: Returns the current path to Chrome binary outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-view-optionChromeDriverPath path: /JSON/selenium/view/optionChromeDriverPath/ operations: - name: seleniumviewoptionchromedriverpath method: GET description: Returns the current path to ChromeDriver outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-view-optionFirefoxBinaryPath path: /JSON/selenium/view/optionFirefoxBinaryPath/ operations: - name: seleniumviewoptionfirefoxbinarypath method: GET description: Returns the current path to Firefox binary outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-view-optionFirefoxDefaultProfile path: /JSON/selenium/view/optionFirefoxDefaultProfile/ operations: - name: seleniumviewoptionfirefoxdefaultprofile method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-view-optionFirefoxDriverPath path: /JSON/selenium/view/optionFirefoxDriverPath/ operations: - name: seleniumviewoptionfirefoxdriverpath method: GET description: Returns the current path to Firefox driver (geckodriver) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-view-optionIeDriverPath path: /JSON/selenium/view/optionIeDriverPath/ operations: - name: seleniumviewoptioniedriverpath method: GET description: Option no longer in effective use. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-view-optionLastDirectory path: /JSON/selenium/view/optionLastDirectory/ operations: - name: seleniumviewoptionlastdirectory method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. - name: JSON-selenium-view-optionPhantomJsBinaryPath path: /JSON/selenium/view/optionPhantomJsBinaryPath/ operations: - name: seleniumviewoptionphantomjsbinarypath method: GET description: Option no longer in effective use. outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: X-ZAP-API-Key value: '{{env.OWASP_ZAP_API_KEY}}' placement: header exposes: - type: rest namespace: owasp-zap-selenium-rest port: 8080 description: REST adapter for ZAP API — selenium. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/json/selenium/action/addbrowserargument name: json-selenium-action-addbrowserargument description: REST surface for JSON-selenium-action-addBrowserArgument. operations: - method: GET name: seleniumactionaddbrowserargument description: Adds a browser argument. call: owasp-zap-selenium.seleniumactionaddbrowserargument outputParameters: - type: object mapping: $. - path: /v1/json/selenium/action/launchbrowser name: json-selenium-action-launchbrowser description: REST surface for JSON-selenium-action-launchBrowser. operations: - method: GET name: seleniumactionlaunchbrowser description: Launches a browser proxying through ZAP, for manual usage. call: owasp-zap-selenium.seleniumactionlaunchbrowser outputParameters: - type: object mapping: $. - path: /v1/json/selenium/action/removebrowserargument name: json-selenium-action-removebrowserargument description: REST surface for JSON-selenium-action-removeBrowserArgument. operations: - method: GET name: seleniumactionremovebrowserargument description: Removes a browser argument. call: owasp-zap-selenium.seleniumactionremovebrowserargument outputParameters: - type: object mapping: $. - path: /v1/json/selenium/action/setbrowserargumentenabled name: json-selenium-action-setbrowserargumentenabled description: REST surface for JSON-selenium-action-setBrowserArgumentEnabled. operations: - method: GET name: seleniumactionsetbrowserargumentenabled description: Sets whether or not a browser argument is enabled. call: owasp-zap-selenium.seleniumactionsetbrowserargumentenabled outputParameters: - type: object mapping: $. - path: /v1/json/selenium/action/setoptionchromebinarypath name: json-selenium-action-setoptionchromebinarypath description: REST surface for JSON-selenium-action-setOptionChromeBinaryPath. operations: - method: GET name: seleniumactionsetoptionchromebinarypath description: Sets the current path to Chrome binary call: owasp-zap-selenium.seleniumactionsetoptionchromebinarypath outputParameters: - type: object mapping: $. - path: /v1/json/selenium/action/setoptionchromedriverpath name: json-selenium-action-setoptionchromedriverpath description: REST surface for JSON-selenium-action-setOptionChromeDriverPath. operations: - method: GET name: seleniumactionsetoptionchromedriverpath description: Sets the current path to ChromeDriver call: owasp-zap-selenium.seleniumactionsetoptionchromedriverpath outputParameters: - type: object mapping: $. - path: /v1/json/selenium/action/setoptionfirefoxbinarypath name: json-selenium-action-setoptionfirefoxbinarypath description: REST surface for JSON-selenium-action-setOptionFirefoxBinaryPath. operations: - method: GET name: seleniumactionsetoptionfirefoxbinarypath description: Sets the current path to Firefox binary call: owasp-zap-selenium.seleniumactionsetoptionfirefoxbinarypath outputParameters: - type: object mapping: $. - path: /v1/json/selenium/action/setoptionfirefoxdefaultprofile name: json-selenium-action-setoptionfirefoxdefaultprofile description: REST surface for JSON-selenium-action-setOptionFirefoxDefaultProfile. operations: - method: GET name: seleniumactionsetoptionfirefoxdefaultprofile description: seleniumactionsetoptionfirefoxdefaultprofile call: owasp-zap-selenium.seleniumactionsetoptionfirefoxdefaultprofile outputParameters: - type: object mapping: $. - path: /v1/json/selenium/action/setoptionfirefoxdriverpath name: json-selenium-action-setoptionfirefoxdriverpath description: REST surface for JSON-selenium-action-setOptionFirefoxDriverPath. operations: - method: GET name: seleniumactionsetoptionfirefoxdriverpath description: Sets the current path to Firefox driver (geckodriver) call: owasp-zap-selenium.seleniumactionsetoptionfirefoxdriverpath outputParameters: - type: object mapping: $. - path: /v1/json/selenium/action/setoptioniedriverpath name: json-selenium-action-setoptioniedriverpath description: REST surface for JSON-selenium-action-setOptionIeDriverPath. operations: - method: GET name: seleniumactionsetoptioniedriverpath description: Option no longer in effective use. call: owasp-zap-selenium.seleniumactionsetoptioniedriverpath outputParameters: - type: object mapping: $. - path: /v1/json/selenium/action/setoptionlastdirectory name: json-selenium-action-setoptionlastdirectory description: REST surface for JSON-selenium-action-setOptionLastDirectory. operations: - method: GET name: seleniumactionsetoptionlastdirectory description: seleniumactionsetoptionlastdirectory call: owasp-zap-selenium.seleniumactionsetoptionlastdirectory outputParameters: - type: object mapping: $. - path: /v1/json/selenium/action/setoptionphantomjsbinarypath name: json-selenium-action-setoptionphantomjsbinarypath description: REST surface for JSON-selenium-action-setOptionPhantomJsBinaryPath. operations: - method: GET name: seleniumactionsetoptionphantomjsbinarypath description: Option no longer in effective use. call: owasp-zap-selenium.seleniumactionsetoptionphantomjsbinarypath outputParameters: - type: object mapping: $. - path: /v1/json/selenium/view/getbrowserarguments name: json-selenium-view-getbrowserarguments description: REST surface for JSON-selenium-view-getBrowserArguments. operations: - method: GET name: seleniumviewgetbrowserarguments description: Gets the browser arguments. call: owasp-zap-selenium.seleniumviewgetbrowserarguments outputParameters: - type: object mapping: $. - path: /v1/json/selenium/view/optionbrowserextensions name: json-selenium-view-optionbrowserextensions description: REST surface for JSON-selenium-view-optionBrowserExtensions. operations: - method: GET name: seleniumviewoptionbrowserextensions description: seleniumviewoptionbrowserextensions call: owasp-zap-selenium.seleniumviewoptionbrowserextensions outputParameters: - type: object mapping: $. - path: /v1/json/selenium/view/optionchromebinarypath name: json-selenium-view-optionchromebinarypath description: REST surface for JSON-selenium-view-optionChromeBinaryPath. operations: - method: GET name: seleniumviewoptionchromebinarypath description: Returns the current path to Chrome binary call: owasp-zap-selenium.seleniumviewoptionchromebinarypath outputParameters: - type: object mapping: $. - path: /v1/json/selenium/view/optionchromedriverpath name: json-selenium-view-optionchromedriverpath description: REST surface for JSON-selenium-view-optionChromeDriverPath. operations: - method: GET name: seleniumviewoptionchromedriverpath description: Returns the current path to ChromeDriver call: owasp-zap-selenium.seleniumviewoptionchromedriverpath outputParameters: - type: object mapping: $. - path: /v1/json/selenium/view/optionfirefoxbinarypath name: json-selenium-view-optionfirefoxbinarypath description: REST surface for JSON-selenium-view-optionFirefoxBinaryPath. operations: - method: GET name: seleniumviewoptionfirefoxbinarypath description: Returns the current path to Firefox binary call: owasp-zap-selenium.seleniumviewoptionfirefoxbinarypath outputParameters: - type: object mapping: $. - path: /v1/json/selenium/view/optionfirefoxdefaultprofile name: json-selenium-view-optionfirefoxdefaultprofile description: REST surface for JSON-selenium-view-optionFirefoxDefaultProfile. operations: - method: GET name: seleniumviewoptionfirefoxdefaultprofile description: seleniumviewoptionfirefoxdefaultprofile call: owasp-zap-selenium.seleniumviewoptionfirefoxdefaultprofile outputParameters: - type: object mapping: $. - path: /v1/json/selenium/view/optionfirefoxdriverpath name: json-selenium-view-optionfirefoxdriverpath description: REST surface for JSON-selenium-view-optionFirefoxDriverPath. operations: - method: GET name: seleniumviewoptionfirefoxdriverpath description: Returns the current path to Firefox driver (geckodriver) call: owasp-zap-selenium.seleniumviewoptionfirefoxdriverpath outputParameters: - type: object mapping: $. - path: /v1/json/selenium/view/optioniedriverpath name: json-selenium-view-optioniedriverpath description: REST surface for JSON-selenium-view-optionIeDriverPath. operations: - method: GET name: seleniumviewoptioniedriverpath description: Option no longer in effective use. call: owasp-zap-selenium.seleniumviewoptioniedriverpath outputParameters: - type: object mapping: $. - path: /v1/json/selenium/view/optionlastdirectory name: json-selenium-view-optionlastdirectory description: REST surface for JSON-selenium-view-optionLastDirectory. operations: - method: GET name: seleniumviewoptionlastdirectory description: seleniumviewoptionlastdirectory call: owasp-zap-selenium.seleniumviewoptionlastdirectory outputParameters: - type: object mapping: $. - path: /v1/json/selenium/view/optionphantomjsbinarypath name: json-selenium-view-optionphantomjsbinarypath description: REST surface for JSON-selenium-view-optionPhantomJsBinaryPath. operations: - method: GET name: seleniumviewoptionphantomjsbinarypath description: Option no longer in effective use. call: owasp-zap-selenium.seleniumviewoptionphantomjsbinarypath outputParameters: - type: object mapping: $. - type: mcp namespace: owasp-zap-selenium-mcp port: 9090 transport: http description: MCP adapter for ZAP API — selenium. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: adds-browser-argument description: Adds a browser argument. hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumactionaddbrowserargument outputParameters: - type: object mapping: $. - name: launches-browser-proxying-through-zap description: Launches a browser proxying through ZAP, for manual usage. hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumactionlaunchbrowser outputParameters: - type: object mapping: $. - name: removes-browser-argument description: Removes a browser argument. hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumactionremovebrowserargument outputParameters: - type: object mapping: $. - name: sets-whether-not-browser-argument description: Sets whether or not a browser argument is enabled. hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumactionsetbrowserargumentenabled outputParameters: - type: object mapping: $. - name: sets-current-path-chrome-binary description: Sets the current path to Chrome binary hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumactionsetoptionchromebinarypath outputParameters: - type: object mapping: $. - name: sets-current-path-chromedriver description: Sets the current path to ChromeDriver hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumactionsetoptionchromedriverpath outputParameters: - type: object mapping: $. - name: sets-current-path-firefox-binary description: Sets the current path to Firefox binary hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumactionsetoptionfirefoxbinarypath outputParameters: - type: object mapping: $. - name: seleniumactionsetoptionfirefoxdefaultprofile description: seleniumactionsetoptionfirefoxdefaultprofile hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumactionsetoptionfirefoxdefaultprofile outputParameters: - type: object mapping: $. - name: sets-current-path-firefox-driver description: Sets the current path to Firefox driver (geckodriver) hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumactionsetoptionfirefoxdriverpath outputParameters: - type: object mapping: $. - name: option-no-longer-effective-use description: Option no longer in effective use. hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumactionsetoptioniedriverpath outputParameters: - type: object mapping: $. - name: seleniumactionsetoptionlastdirectory description: seleniumactionsetoptionlastdirectory hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumactionsetoptionlastdirectory outputParameters: - type: object mapping: $. - name: option-no-longer-effective-use-2 description: Option no longer in effective use. hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumactionsetoptionphantomjsbinarypath outputParameters: - type: object mapping: $. - name: gets-browser-arguments description: Gets the browser arguments. hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumviewgetbrowserarguments outputParameters: - type: object mapping: $. - name: seleniumviewoptionbrowserextensions description: seleniumviewoptionbrowserextensions hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumviewoptionbrowserextensions outputParameters: - type: object mapping: $. - name: returns-current-path-chrome-binary description: Returns the current path to Chrome binary hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumviewoptionchromebinarypath outputParameters: - type: object mapping: $. - name: returns-current-path-chromedriver description: Returns the current path to ChromeDriver hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumviewoptionchromedriverpath outputParameters: - type: object mapping: $. - name: returns-current-path-firefox-binary description: Returns the current path to Firefox binary hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumviewoptionfirefoxbinarypath outputParameters: - type: object mapping: $. - name: seleniumviewoptionfirefoxdefaultprofile description: seleniumviewoptionfirefoxdefaultprofile hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumviewoptionfirefoxdefaultprofile outputParameters: - type: object mapping: $. - name: returns-current-path-firefox-driver description: Returns the current path to Firefox driver (geckodriver) hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumviewoptionfirefoxdriverpath outputParameters: - type: object mapping: $. - name: option-no-longer-effective-use-3 description: Option no longer in effective use. hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumviewoptioniedriverpath outputParameters: - type: object mapping: $. - name: seleniumviewoptionlastdirectory description: seleniumviewoptionlastdirectory hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumviewoptionlastdirectory outputParameters: - type: object mapping: $. - name: option-no-longer-effective-use-4 description: Option no longer in effective use. hints: readOnly: true destructive: false idempotent: true call: owasp-zap-selenium.seleniumviewoptionphantomjsbinarypath outputParameters: - type: object mapping: $.