How Can We Help?

< All Topics

As Imagium can be integrated with any automation tool on the planet. Microsoft Playwright is a no exception.

There are various ways to make API calls in Node.js. We are using Axios library in this example(However you can use your preferred library if you have one). Axios is promise based HTTP client for the browser and node.js

npm i axios

The below code use Playwright to convert screenshot into Base64 image then send Post request using Axios

JavaScript