require 'interactor/shared'

module Interactor
  module Clicker
    class << self
      include Shared

      def click_on(position)
        run("xdotool mousemove --sync #{position.first} #{position.last}")
        sleep 1
        run('xdotool mousedown --clearmodifiers 1')
        sleep 0.1
        run('xdotool mouseup 1')
        sleep 1
      end
    end
  end
end

require 'interactor/shared'

module Interactor
  module Clicker
    class << self
      include Shared

      def click_on(position)
        run("xdotool mousemove --sync #{position.first} #{position.last} click --clearmodifiers 1")
        sleep 1
      end
    end
  end
end

Use xdotool click instead of mousedown and mouseup
Use xdotool click instead of mousedown and mouseup

Trying to fix the issue of not opening the burguer menu
on thunderbird beta.
