Bun

interface

WebView.ClickSelectorOptions

interface ClickSelectorOptions

  • button?: 'left' | 'right' | 'middle'
  • clickCount?: 2 | 1 | 3

    Number of clicks (1 = single, 2 = double, 3 = triple).

  • modifiers?: Modifier[]

    Modifier keys to hold during the click.

  • timeout?: number

    Maximum time in milliseconds to wait for the element to become actionable (attached, visible, stable for 2 frames, not obscured).