Class Selenium
- java.lang.Object
-
- org.zaproxy.clientapi.gen.deprecated.SeleniumDeprecated
-
- org.zaproxy.clientapi.gen.Selenium
-
public class Selenium extends SeleniumDeprecated
This file was automatically generated.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ApiResponseaddBrowserArgument(java.lang.String browser, java.lang.String argument, java.lang.String enabled)Adds a browser argument.ApiResponsegetBrowserArguments(java.lang.String browser)Gets the browser arguments.ApiResponseoptionBrowserExtensions()This component is optional and therefore the API will only work if it is installedApiResponseoptionChromeBinaryPath()Returns the current path to Chrome binaryApiResponseoptionChromeDriverPath()Returns the current path to ChromeDriverApiResponseoptionFirefoxBinaryPath()Returns the current path to Firefox binaryApiResponseoptionFirefoxDefaultProfile()This component is optional and therefore the API will only work if it is installedApiResponseoptionFirefoxDriverPath()Returns the current path to Firefox driver (geckodriver)ApiResponseoptionIeDriverPath()Deprecated.ApiResponseoptionLastDirectory()This component is optional and therefore the API will only work if it is installedApiResponseoptionPhantomJsBinaryPath()Deprecated.ApiResponseremoveBrowserArgument(java.lang.String browser, java.lang.String argument)Removes a browser argument.ApiResponsesetBrowserArgumentEnabled(java.lang.String browser, java.lang.String argument, java.lang.String enabled)Sets whether or not a browser argument is enabled.ApiResponsesetOptionChromeBinaryPath(java.lang.String string)Sets the current path to Chrome binaryApiResponsesetOptionChromeDriverPath(java.lang.String string)Sets the current path to ChromeDriverApiResponsesetOptionFirefoxBinaryPath(java.lang.String string)Sets the current path to Firefox binaryApiResponsesetOptionFirefoxDefaultProfile(java.lang.String string)This component is optional and therefore the API will only work if it is installedApiResponsesetOptionFirefoxDriverPath(java.lang.String string)Sets the current path to Firefox driver (geckodriver)ApiResponsesetOptionIeDriverPath(java.lang.String string)Deprecated.ApiResponsesetOptionLastDirectory(java.lang.String string)This component is optional and therefore the API will only work if it is installedApiResponsesetOptionPhantomJsBinaryPath(java.lang.String string)Deprecated.-
Methods inherited from class org.zaproxy.clientapi.gen.deprecated.SeleniumDeprecated
setOptionChromeDriverPath, setOptionFirefoxBinaryPath, setOptionFirefoxDriverPath, setOptionIeDriverPath, setOptionPhantomJsBinaryPath
-
-
-
-
Constructor Detail
-
Selenium
public Selenium(ClientApi api)
-
-
Method Detail
-
optionBrowserExtensions
public ApiResponse optionBrowserExtensions() throws ClientApiException
This component is optional and therefore the API will only work if it is installed- Throws:
ClientApiException
-
optionChromeBinaryPath
public ApiResponse optionChromeBinaryPath() throws ClientApiException
Returns the current path to Chrome binaryThis component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
optionChromeDriverPath
public ApiResponse optionChromeDriverPath() throws ClientApiException
Returns the current path to ChromeDriverThis component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
optionFirefoxBinaryPath
public ApiResponse optionFirefoxBinaryPath() throws ClientApiException
Returns the current path to Firefox binaryThis component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
optionFirefoxDefaultProfile
public ApiResponse optionFirefoxDefaultProfile() throws ClientApiException
This component is optional and therefore the API will only work if it is installed- Throws:
ClientApiException
-
optionFirefoxDriverPath
public ApiResponse optionFirefoxDriverPath() throws ClientApiException
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 public ApiResponse optionIeDriverPath() throws ClientApiException
Deprecated.This component is optional and therefore the API will only work if it is installed- Throws:
ClientApiException
-
optionLastDirectory
public ApiResponse optionLastDirectory() throws ClientApiException
This component is optional and therefore the API will only work if it is installed- Throws:
ClientApiException
-
optionPhantomJsBinaryPath
@Deprecated public ApiResponse optionPhantomJsBinaryPath() throws ClientApiException
Deprecated.This component is optional and therefore the API will only work if it is installed- Throws:
ClientApiException
-
getBrowserArguments
public ApiResponse getBrowserArguments(java.lang.String browser) throws ClientApiException
Gets the browser arguments.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setOptionChromeBinaryPath
public ApiResponse setOptionChromeBinaryPath(java.lang.String string) throws ClientApiException
Sets the current path to Chrome binaryThis component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setOptionChromeDriverPath
public ApiResponse setOptionChromeDriverPath(java.lang.String string) throws ClientApiException
Sets the current path to ChromeDriverThis component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setOptionFirefoxBinaryPath
public ApiResponse setOptionFirefoxBinaryPath(java.lang.String string) throws ClientApiException
Sets the current path to Firefox binaryThis component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
setOptionFirefoxDefaultProfile
public ApiResponse setOptionFirefoxDefaultProfile(java.lang.String string) throws ClientApiException
This component is optional and therefore the API will only work if it is installed- Throws:
ClientApiException
-
setOptionFirefoxDriverPath
public ApiResponse setOptionFirefoxDriverPath(java.lang.String string) throws ClientApiException
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 public ApiResponse setOptionIeDriverPath(java.lang.String string) throws ClientApiException
Deprecated.This component is optional and therefore the API will only work if it is installed- Throws:
ClientApiException
-
setOptionLastDirectory
public ApiResponse setOptionLastDirectory(java.lang.String string) throws ClientApiException
This component is optional and therefore the API will only work if it is installed- Throws:
ClientApiException
-
setOptionPhantomJsBinaryPath
@Deprecated public ApiResponse setOptionPhantomJsBinaryPath(java.lang.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(java.lang.String browser, java.lang.String argument, java.lang.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
-
removeBrowserArgument
public ApiResponse removeBrowserArgument(java.lang.String browser, java.lang.String argument) throws ClientApiException
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(java.lang.String browser, java.lang.String argument, java.lang.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
-
-