Infosys interview question

Write a code to open browser, perform sign in and validate something on homepage using assertions