id: api-browshot

info:
  name: Browshot API Test
  author: daffainfo
  severity: info
  description: Easily make screenshots of web pages in any screen size, as any device
  reference:
    - https://browshot.com/api/documentation
    - https://github.com/daffainfo/all-about-apikey/tree/main/browshot
  metadata:
    max-request: 1
  tags: token-spray,browshot

self-contained: true

http:
  - method: GET
    path:
      - "https://api.browshot.com/api/v1/simple?url=http://mobilito.net/&instance_id=12&width=640&height=480&key={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - '"cost"'
          - '"priority"'
          - '"url"'
        condition: and

# digest: 490a00463044022007d1b5a388dc96ef04fb6224f495336a5ca8fdd6ec9d18d7a134f18ec0aacbc102203065a60bb755e2f42f6e493ea813e7c4a1b988e7772b64770a4f45f105b441ff:922c64590222798bb761d5b6d8e72950
