Tries to emulate a tab key press of a real user.
This script has an heuristic to find the next element to stop. It will trigger the keypress-Event and blur event on the active element and the focus-Event on the next element.
Interactive demo: https://emulate-tab.net-root.de
npm i emulate-tab