Cognizant Interview Question

Write a login functinalty using Playwright with Javascript.