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 ApiResponse
addBrowserArgument(java.lang.String browser, java.lang.String argument, java.lang.String enabled)
Adds a browser argument.ApiResponse
getBrowserArguments(java.lang.String browser)
Gets the browser arguments.ApiResponse
launchBrowser(java.lang.String browser)
Launches a browser proxying through ZAP, for manual usage.ApiResponse
optionBrowserExtensions()
This component is optional and therefore the API will only work if it is installedApiResponse
optionChromeBinaryPath()
Returns the current path to Chrome binaryApiResponse
optionChromeDriverPath()
Returns the current path to ChromeDriverApiResponse
optionFirefoxBinaryPath()
Returns the current path to Firefox binaryApiResponse
optionFirefoxDefaultProfile()
This component is optional and therefore the API will only work if it is installedApiResponse
optionFirefoxDriverPath()
Returns the current path to Firefox driver (geckodriver)ApiResponse
optionIeDriverPath()
Deprecated.ApiResponse
optionLastDirectory()
This component is optional and therefore the API will only work if it is installedApiResponse
optionPhantomJsBinaryPath()
Deprecated.ApiResponse
removeBrowserArgument(java.lang.String browser, java.lang.String argument)
Removes a browser argument.ApiResponse
setBrowserArgumentEnabled(java.lang.String browser, java.lang.String argument, java.lang.String enabled)
Sets whether or not a browser argument is enabled.ApiResponse
setOptionChromeBinaryPath(java.lang.String string)
Sets the current path to Chrome binaryApiResponse
setOptionChromeDriverPath(java.lang.String string)
Sets the current path to ChromeDriverApiResponse
setOptionFirefoxBinaryPath(java.lang.String string)
Sets the current path to Firefox binaryApiResponse
setOptionFirefoxDefaultProfile(java.lang.String string)
This component is optional and therefore the API will only work if it is installedApiResponse
setOptionFirefoxDriverPath(java.lang.String string)
Sets the current path to Firefox driver (geckodriver)ApiResponse
setOptionIeDriverPath(java.lang.String string)
Deprecated.ApiResponse
setOptionLastDirectory(java.lang.String string)
This component is optional and therefore the API will only work if it is installedApiResponse
setOptionPhantomJsBinaryPath(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
-
launchBrowser
public ApiResponse launchBrowser(java.lang.String browser) throws ClientApiException
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
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
-
-