Interface ProfilePreferences


public interface ProfilePreferences
The preferences of a Profile.
Since:
7.20
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Disables the web form autofill for the simple input values, credit cards, and user data.
    void
    Disables the caret browsing.
    void
    Disables network prediction.
    void
    Enables the web form autofill for the simple input values, credit cards, and user data.
    void
    Enables the caret browsing.
    void
    Enables network prediction.
    boolean
    Returns true if the web form autofill for the simple input values, credit cards, or the user data is enabled.
    boolean
    Returns true if the caret browsing is enabled.
    boolean
    Returns true if network prediction (DNS prefetching, TCP and SSL pre-connection, pre-rendering of web pages, and resource prefetching) is enabled.
  • Method Details

    • isAutofillEnabled

      boolean isAutofillEnabled()
      Returns true if the web form autofill for the simple input values, credit cards, or the user data is enabled.

      By default, the autofill is enabled.

      Important: the autofill for the passwords is always enabled except the cases when a site has an invalid SSL certificate or the scheme is not registered as web-safe. The list of web-safe schemes: HTTP, HTTPS, WS, and WSS.

      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed
    • enableAutofill

      void enableAutofill()
      Enables the web form autofill for the simple input values, credit cards, and user data.
      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed
    • disableAutofill

      void disableAutofill()
      Disables the web form autofill for the simple input values, credit cards, and user data.
      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed
    • isCaretBrowsingEnabled

      boolean isCaretBrowsingEnabled()
      Returns true if the caret browsing is enabled.

      By default, the caret browsing is disabled.

      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed
      Since:
      7.27
    • enableCaretBrowsing

      void enableCaretBrowsing()
      Enables the caret browsing.

      The caret browsing allows using the arrow keys to browse the text on web pages.

      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed
      Since:
      7.27
    • disableCaretBrowsing

      void disableCaretBrowsing()
      Disables the caret browsing.
      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed
      Since:
      7.27
    • isNetworkPredictionEnabled

      boolean isNetworkPredictionEnabled()
      Returns true if network prediction (DNS prefetching, TCP and SSL pre-connection, pre-rendering of web pages, and resource prefetching) is enabled.

      By default, the preference is enabled.

      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed
      Since:
      7.29
    • enableNetworkPrediction

      void enableNetworkPrediction()
      Enables network prediction.
      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed
      Since:
      7.29
    • disableNetworkPrediction

      void disableNetworkPrediction()
      Disables network prediction.
      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed
      Since:
      7.29