API automation in Playwright: GET call
import {test, Page, Locator, expect,FileChooser } from ‘@playwright/test’; //API automation : Get call test(“API Get call“, async ({ request }) => { const response = await request.get(“https://petstore.swagger.io/v2/pet/findByStatus?status=available”); expect(response.ok()).toBeTruthy(); Read more »
