Interface SupportsCalendarAccessAuthorizedOption<T extends BaseOptions<T>>

  • All Superinterfaces:
    CanSetCapability<T>, org.openqa.selenium.Capabilities, java.io.Serializable
    All Known Implementing Classes:
    XCUITestOptions

    public interface SupportsCalendarAccessAuthorizedOption<T extends BaseOptions<T>>
    extends org.openqa.selenium.Capabilities, CanSetCapability<T>
    • Field Detail

      • CALENDAR_ACCESS_AUTHORIZED_OPTION

        static final java.lang.String CALENDAR_ACCESS_AUTHORIZED_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • calendarAccessAuthorized

        default T calendarAccessAuthorized()
        Enable calendar access on IOS Simulator.
        Returns:
        self instance for chaining.
      • setCalendarAccessAuthorized

        default T setCalendarAccessAuthorized​(boolean value)
        Set this to true if you want to enable calendar access on IOS Simulator with given bundleId. Set to false, if you want to disable calendar access on IOS Simulator with given bundleId. If not set, the calendar authorization status will not be set.
        Parameters:
        value - Whether to enable calendar access on IOS Simulator.
        Returns:
        self instance for chaining.
      • doesCalendarAccessAuthorized

        default java.util.Optional<java.lang.Boolean> doesCalendarAccessAuthorized()
        Get whether to enable calendar access on IOS Simulator.
        Returns:
        True or false.