Class DesiredCapabilities

    • Constructor Detail

      • DesiredCapabilities

        public DesiredCapabilities​(java.lang.String browser,
                                   java.lang.String version,
                                   Platform platform)
      • DesiredCapabilities

        public DesiredCapabilities()
      • DesiredCapabilities

        public DesiredCapabilities​(java.util.Map<java.lang.String,​?> rawMap)
      • DesiredCapabilities

        public DesiredCapabilities​(Capabilities other)
      • DesiredCapabilities

        public DesiredCapabilities​(Capabilities... others)
    • Method Detail

      • setBrowserName

        public void setBrowserName​(java.lang.String browserName)
      • setVersion

        public void setVersion​(java.lang.String version)
      • setPlatform

        public void setPlatform​(Platform platform)
      • setJavascriptEnabled

        public void setJavascriptEnabled​(boolean javascriptEnabled)
      • acceptInsecureCerts

        public boolean acceptInsecureCerts()
      • setAcceptInsecureCerts

        public void setAcceptInsecureCerts​(boolean acceptInsecureCerts)
      • merge

        public DesiredCapabilities merge​(Capabilities extraCapabilities)
        Merges the extra capabilities provided into this DesiredCapabilities instance. If capabilities with the same name exist in this instance, they will be overridden by the values from the extraCapabilities object.
        Specified by:
        merge in interface Capabilities
        Overrides:
        merge in class MutableCapabilities
        Parameters:
        extraCapabilities - Additional capabilities to be added.
        Returns:
        DesiredCapabilities after the merge