Merge pull request #5425 from geeknik/patch-60

Update api-screenshotapi.yaml
patch-1
Prince Chaddha 2022-09-29 12:48:22 +05:30 committed by GitHub
commit 7ec99b94cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -2,7 +2,7 @@ id: api-screenshotapi
info:
name: ScreenshotAPI API Test
author: daffainfo
author: daffainfo,geeknik
severity: info
description: Create pixel-perfect website screenshots
reference:
@ -16,6 +16,7 @@ requests:
path:
- "https://shot.screenshotapi.net/screenshot?token={{token}}&url=https://example.com"
matchers-condition: and
matchers:
- type: word
part: body
@ -23,3 +24,10 @@ requests:
- 'screenshot'
- 'url'
condition: and
- type: status
status:
- 403
- 401
- 400
negative: true