Compare screenshots given threshold value
Load the Shiny application's support environment
Launch test event recorder for a Shiny app
Register an input processor for the test recorder
Use 'shinytest2' with your Shiny application