Skip to content

Introduction

NanoTests is a service for take screenshots and execute tests over any website just by calling a API REST.

It can performs actions that requires a web browser without the effort and the resources it requires. We handle all the infrastructure required to run such task.

It offers over the API the following services:

Why NanoTests?

Taking a screenshot, comparing two websites by visual regression or running a Playwright test script requires to start a web browser and a relatively high amount of resources such as CPU, memory and network bandwith.

In some scenarios, let's say CI/CD or automation tools like N8N, the execution environment is limited not only by resources but also by permissions. These systems may only allow to use a amount of CPU, memory, time or just provide a small configuration options.

In these scenarios it's not possible to run a web browser or when possible, it's not a good choice. NanoTests fills the gap by just calling a API, which is a lightweight widely available option.

Use cases

CI/CD:

  • Compare production environment with stagging after deploy
  • Compare a website after a deployment

Scheduled tasks:

  • Check that your website is looking good

Misc:

  • Provide a live preview of a website

Try it!

Just think in a website and ask the API for a screenshot:

https://api.nanotests.xyz/screenshot?url=https://google.es