Class Selenium
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBrowserArgument
(String browser, String argument, String enabled) Adds a browser argument.getBrowserArguments
(String browser) Gets the browser arguments.launchBrowser
(String browser) Launches a browser proxying through ZAP, for manual usage.This component is optional and therefore the API will only work if it is installedReturns the current path to Chrome binaryReturns the current path to ChromeDriverReturns the current path to Firefox binaryThis component is optional and therefore the API will only work if it is installedReturns the current path to Firefox driver (geckodriver)Deprecated.This component is optional and therefore the API will only work if it is installedDeprecated.removeBrowserArgument
(String browser, String argument) Removes a browser argument.setBrowserArgumentEnabled
(String browser, String argument, String enabled) Sets whether or not a browser argument is enabled.setOptionChromeBinaryPath
(String string) Sets the current path to Chrome binarysetOptionChromeDriverPath
(String string) Sets the current path to ChromeDriversetOptionFirefoxBinaryPath
(String string) Sets the current path to Firefox binarysetOptionFirefoxDefaultProfile
(String string) This component is optional and therefore the API will only work if it is installedsetOptionFirefoxDriverPath
(String string) Sets the current path to Firefox driver (geckodriver)setOptionIeDriverPath
(String string) Deprecated.setOptionLastDirectory
(String string) This component is optional and therefore the API will only work if it is installedsetOptionPhantomJsBinaryPath
(String string) Deprecated.Methods inherited from class org.zaproxy.clientapi.gen.deprecated.SeleniumDeprecated
setOptionChromeDriverPath, setOptionFirefoxBinaryPath, setOptionFirefoxDriverPath, setOptionIeDriverPath, setOptionPhantomJsBinaryPath
-
Constructor Details
-
Selenium
-
-
Method Details
-
optionBrowserExtensions
This component is optional and therefore the API will only work if it is installed- Throws:
ClientApiException
-
optionChromeBinaryPath
Returns the current path to Chrome binaryThis component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
optionChromeDriverPath
Returns the current path to ChromeDriverThis component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
optionFirefoxBinaryPath
Returns the current path to Firefox binaryThis component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
optionFirefoxDefaultProfile
This component is optional and therefore the API will only work if it is installed- Throws:
ClientApiException
-
optionFirefoxDriverPath
Returns the current path to Firefox driver (geckodriver)This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
optionIeDriverPath
Deprecated.This component is optional and therefore the API will only work if it is installed- Throws:
ClientApiException
-
optionLastDirectory
This component is optional and therefore the API will only work if it is installed- Throws:
ClientApiException
-
optionPhantomJsBinaryPath
Deprecated.This component is optional and therefore the API will only work if it is installed- Throws:
ClientApiException
-
getBrowserArguments
Gets the browser arguments.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setOptionChromeBinaryPath
Sets the current path to Chrome binaryThis component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setOptionChromeDriverPath
Sets the current path to ChromeDriverThis component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setOptionFirefoxBinaryPath
Sets the current path to Firefox binaryThis component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setOptionFirefoxDefaultProfile
This component is optional and therefore the API will only work if it is installed- Throws:
ClientApiException
-
setOptionFirefoxDriverPath
Sets the current path to Firefox driver (geckodriver)This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setOptionIeDriverPath
Deprecated.This component is optional and therefore the API will only work if it is installed- Throws:
ClientApiException
-
setOptionLastDirectory
This component is optional and therefore the API will only work if it is installed- Throws:
ClientApiException
-
setOptionPhantomJsBinaryPath
@Deprecated public ApiResponse setOptionPhantomJsBinaryPath(String string) throws ClientApiException Deprecated.This component is optional and therefore the API will only work if it is installed- Throws:
ClientApiException
-
addBrowserArgument
public ApiResponse addBrowserArgument(String browser, String argument, String enabled) throws ClientApiException Adds a browser argument.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
launchBrowser
Launches a browser proxying through ZAP, for manual usage.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
removeBrowserArgument
Removes a browser argument.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setBrowserArgumentEnabled
public ApiResponse setBrowserArgumentEnabled(String browser, String argument, String enabled) throws ClientApiException Sets whether or not a browser argument is enabled.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-