Skip to content

How to perform static + interaction snapshots #610

Answered by Robdel12
IanVS asked this question in Support
Discussion options

You must be logged in to vote

Hey @IanVS! You can use the overrides config option to pick the paths you want to add interaction with: https://docs.percy.io/docs/cli-snapshot#static-options

For example:

# .percy.yml
version: 2
static:
  overrides:
  - include: /foo-bar.html
    waitForSelector: .is-ready
    execute: |
      document.querySelector('.button').click()

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@IanVS
Comment options

@Robdel12
Comment options

Answer selected by IanVS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants