def click obj = nil, wait = 0.2
    move_mouse_to obj, wait: 0 if obj
    Mouse.click_down
    yield if block_given?
  ensure