using scope to take screenshots in a single element but the error Object literal may only specify known properties, and 'scope' does not exist in type 'SnapshotOptions' in the return
Environment
Node version:
@percy/cli version: "@percy/cli": "^1.8.0"
Version of Percy SDK you’re using: "@percy/playwright": "^1.0.4"
Argument of type '{ scope: string; }' is not assignable to parameter of type 'SnapshotOptions'.
Object literal may only specify known properties, and 'scope' does not exist in type 'SnapshotOptions'
The problem
using
scope
to take screenshots in a single element but the errorObject literal may only specify known properties, and 'scope' does not exist in type 'SnapshotOptions'
in the returnEnvironment
@percy/cli
version:"@percy/cli": "^1.8.0"
"@percy/playwright": "^1.0.4"
Details
https://docs.percy.io/docs/screenshot-a-single-element
Debug logs
Code to reproduce the issue