Class Selenium

    • Constructor Detail

      • Selenium

        public Selenium​(ClientApi api)
    • Method Detail

      • optionChromeBinaryPath

        public ApiResponse optionChromeBinaryPath()
                                           throws ClientApiException
        Returns the current path to Chrome binary

        This 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 ChromeDriver

        This 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 binary

        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
      • 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
      • setOptionChromeBinaryPath

        public ApiResponse setOptionChromeBinaryPath​(java.lang.String string)
                                              throws ClientApiException
        Sets the current path to Chrome binary

        This 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 ChromeDriver

        This 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 binary

        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
      • 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