FuncUnit allows you to mock user keyboard and mouse interactions easily using their jquery like api. You can also automate these tests using Seleuium or PhantomJS.
You can find the project on the web at:
docs are here
Drinks and Pizza to be provided by Ontraport