It's strange. Why is a keyboard press so complex? A console call should work.
What's the difference between a direct call and actually pushing the space bar on a physical keyboard with a webpage "active"?
A JS-generated event and one that's directly created by the browser are two different things--especially from a security standpoint.
Do virtual(on screen keyboards) keyboard applications work close enough to keyboard hardware that I can use them for testing how keyboard presses are called?
Short answer: Probably, depending on how they mimic the keyboard. If they generate Windows keyboard events, the browser should think of them as legit keypresses and generate events on its own.
What's the difference between a direct call and actually pushing the space bar on a physical keyboard with a webpage "active"?
Do virtual(on screen keyboards) keyboard applications work close enough to keyboard hardware that I can use them for testing how keyboard presses are called?