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: 4b0a00483046022100e3dad4fe843a62a67f5536d2b730a166169bc9b29c0cd56b33ee47277ac9d340022100baabc253cd0f1748d9b52cf139d3612c3c58e401a820745e617e041f32ed8b2d:922c64590222798bb761d5b6d8e72950