Class AbstractDriverOptions<DO extends AbstractDriverOptions>

  • All Implemented Interfaces:
    java.io.Serializable, org.openqa.selenium.Capabilities

    public class AbstractDriverOptions<DO extends AbstractDriverOptions>
    extends org.openqa.selenium.MutableCapabilities
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected int amendHashCode()  
      java.util.Map<java.lang.String,​java.lang.Object> asMap()  
      boolean equals​(java.lang.Object arg0)  
      java.lang.Object getCapability​(java.lang.String arg0)  
      java.util.Set<java.lang.String> getCapabilityNames()  
      org.openqa.selenium.Platform getPlatform()  
      int hashCode()  
      DO setAcceptInsecureCerts​(boolean acceptInsecureCerts)  
      DO setPageLoadStrategy​(org.openqa.selenium.PageLoadStrategy strategy)  
      DO setProxy​(org.openqa.selenium.Proxy proxy)  
      DO setStrictFileInteractability​(boolean strictFileInteractability)  
      DO setUnhandledPromptBehaviour​(org.openqa.selenium.UnexpectedAlertBehaviour behaviour)  
      java.util.Map<java.lang.String,​java.lang.Object> toJson()  
      java.lang.String toString()  
      • Methods inherited from class org.openqa.selenium.MutableCapabilities

        merge, setCapability, setCapability, setCapability, setCapability
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.openqa.selenium.Capabilities

        getBrowserName, getVersion, is
    • Constructor Detail

      • AbstractDriverOptions

        public AbstractDriverOptions()
    • Method Detail

      • setPageLoadStrategy

        public DO setPageLoadStrategy​(org.openqa.selenium.PageLoadStrategy strategy)
      • setUnhandledPromptBehaviour

        public DO setUnhandledPromptBehaviour​(org.openqa.selenium.UnexpectedAlertBehaviour behaviour)
      • setAcceptInsecureCerts

        public DO setAcceptInsecureCerts​(boolean acceptInsecureCerts)
      • setStrictFileInteractability

        public DO setStrictFileInteractability​(boolean strictFileInteractability)
      • setProxy

        public DO setProxy​(org.openqa.selenium.Proxy proxy)
      • getPlatform

        public org.openqa.selenium.Platform getPlatform()
        Specified by:
        getPlatform in interface org.openqa.selenium.Capabilities
      • getCapability

        public java.lang.Object getCapability​(java.lang.String arg0)
        Specified by:
        getCapability in interface org.openqa.selenium.Capabilities
      • getCapabilityNames

        public java.util.Set<java.lang.String> getCapabilityNames()
        Specified by:
        getCapabilityNames in interface org.openqa.selenium.Capabilities
      • asMap

        public java.util.Map<java.lang.String,​java.lang.Object> asMap()
        Specified by:
        asMap in interface org.openqa.selenium.Capabilities
      • toJson

        public java.util.Map<java.lang.String,​java.lang.Object> toJson()
      • amendHashCode

        protected int amendHashCode()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object arg0)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object