Cognizant interview question

Write a login functinalty using Playwright with Javascript.