You are working on API automation using Playwright with TypeScript. Your project requires sending authenticated requests to multiple APIs, so you need to set up a reusable API request context. To start with this setup, what is the correct way to create a new API request context in Playwright?

await browser.newRequest()
const request = await playwright.request.newContext();
page.newRequestContext();
new RequestContext();
Verified Answer
Correct Option - b

To get all Infosys Certified Playwright Typescript Automation Tester Obj Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram