Build the regular expression to match consecutive screenshots
Source:R/shiny2screenshot.R
      glue_regexp_snaps.Rdshinytest2::AppDriver uses several schemes to name consecutive screenshot files. Use this regex to capture paths of screenshots.
Arguments
- name
 The
namepassed to shinytest2::AppDriver to be used for screenshots. Can beNULL, for no filtering by name.- auto_numbered
 If
TRUE, filter for snapshot files automatically numbered according to the scheme used by shinytest2::AppDriver. If you pass anameonly toshinytest2::AppDriver$new()(recommended), and then invoke severalshinytest2::AppDriver$expect_snapshot(), they resulting snapshots will all have the same name, appended by a counter from000to999. IfFALSE, any filename{name}*.pngwill be selected. You may need to setFALSEif you pass a name toshinytest2::AppDriver$expect_snapshot()directly.
See also
Other screenshot:
examples_app(),
get_screenshot_args_attr(),
get_screenshot_from_app(),
get_screenshot_from_snaps,
tag_shiny