Class Frame.TapOptions

  • Enclosing interface:
    Frame

    public static class Frame.TapOptions
    extends Object
    • Field Detail

      • position

        public Frame.TapOptions.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.
      • 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.
      • force

        public Boolean force
        Whether to bypass the actionability checks. 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

      • TapOptions

        public TapOptions()