Class SafariTechPreviewDriverInfo

    • Constructor Detail

      • SafariTechPreviewDriverInfo

        public SafariTechPreviewDriverInfo()
    • Method Detail

      • getDisplayName

        public java.lang.String getDisplayName()
        Specified by:
        getDisplayName in interface WebDriverInfo
        Returns:
        A human-readable name that describes the browser.
      • isSupportingCdp

        public boolean isSupportingCdp()
        Specified by:
        isSupportingCdp in interface WebDriverInfo
        Returns:
        Whether the driver has enabled the CDP interface.
      • isSupportingBiDi

        public boolean isSupportingBiDi()
        Specified by:
        isSupportingBiDi in interface WebDriverInfo
        Returns:
        Whether the driver has enabled the BiDi interface.
      • isAvailable

        public boolean isAvailable()
        Description copied from interface: WebDriverInfo
        Often, a WebDriver instance needs one or more supporting files or executables to be present (such as a vendor-provided executable which speaks the WebDriver Protocol). This means that even though the driver classes might be present in Java, it would make no sense to attempt to instantiate the driver itself.
        Specified by:
        isAvailable in interface WebDriverInfo
        Returns:
        Whether the prerequisites required for this WebDriver are present.
      • isPresent

        public boolean isPresent()
        Description copied from interface: WebDriverInfo
        Checks whether the browser driver is already present on the host machine. Different from WebDriverInfo.isAvailable() which uses Selenium Manager to obtain the driver when not present.
        Specified by:
        isPresent in interface WebDriverInfo
        Returns:
        Whether the browser driver is present on the host machine.
      • getMaximumSimultaneousSessions

        public int getMaximumSimultaneousSessions()
        Description copied from interface: WebDriverInfo
        Some browsers require all the resources of the current system in order to run (for example, Safari on iOS) and so do not support multiple simultaneous sessions on the same system. Other browsers can create isolated state for each new WebDriver instance.

        The count of simultaneous sessions is typically 1, some multiple of the available number of cores, or Integer.MAX_VALUE if the number is unbounded or no-one cares.

        Specified by:
        getMaximumSimultaneousSessions in interface WebDriverInfo