Centralized code for recording a form action into a set of pure functions. Exported them for unit testing. Also amended the click event to treat untrusted events as trusted when running in the test environment.
Centralized code for recording a form action into a set of pure functions. Exported them for unit testing. Also amended the click event to treat untrusted events as trusted when running in the test environment.

SeleniumHQ/selenium-ide,SeleniumHQ/selenium-ide,SeleniumHQ/selenium-ide