Class Page.ClickOptions

  • Enclosing interface:
    Page

    public static class Page.ClickOptions
    extends Object
    • Field Detail

      • clickCount

        public Integer clickCount
        defaults to 1. See UIEvent.detail.
      • delay

        public Integer delay
        Time to wait between mousedown and mouseup in milliseconds. Defaults to 0.
      • position

        public Position position
        A point to use relative to the top-left corner of element padding box. If not specified, uses some visible point of the element.
      • modifiers

        public Set<Keyboard.Modifier> modifiers
        Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current modifiers back. If not specified, currently pressed modifiers are used.
      • force

        public Boolean force
        Whether to bypass the actionability checks. Defaults to false.
      • noWaitAfter

        public Boolean noWaitAfter
        Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to inaccessible pages. Defaults to false.
      • timeout

        public Integer timeout
        Maximum time in milliseconds, defaults to 30 seconds, pass 0 to disable timeout. The default value can be changed by using the browserContext.setDefaultTimeout(timeout) or page.setDefaultTimeout(timeout) methods.
    • Constructor Detail

      • ClickOptions

        public ClickOptions()